|
Add basic infrastructure for protecting V8's heap when leaving the VM
and unprotecting it when (re)entering. The functionality is enabled
by the flag --protect-heap and requires V8 to be built with
ENABLE_HEAP_PROTECTION and ENABLE_LOGGING_AND_PROFILING defined.
Implemented on Linux and Windows but not yet for other platforms.
Committed: http://code.google.com/p/v8/source/detail?r=1595
Total comments: 4
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+335 lines, -49 lines) |
Patch |
|
M |
src/flag-definitions.h
|
View
|
1
2
|
1 chunk |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/globals.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/log.cc
|
View
|
1
2
|
3 chunks |
+29 lines, -3 lines |
1 comment
|
Download
|
|
M |
src/platform.h
|
View
|
1
2
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/platform-freebsd.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-linux.cc
|
View
|
1
2
|
4 chunks |
+24 lines, -7 lines |
1 comment
|
Download
|
|
M |
src/platform-macos.cc
|
View
|
1
2
|
4 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/platform-nullos.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-win32.cc
|
View
|
1
2
|
3 chunks |
+26 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/spaces.h
|
View
|
1
2
|
10 chunks |
+42 lines, -2 lines |
1 comment
|
Download
|
|
M |
src/spaces.cc
|
View
|
1
2
|
6 chunks |
+69 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/spaces-inl.h
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/test.py
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|