|
|
After performing scavenge, hint OS that data in from spaces are no more needed,
so there is no need to swap it out---they might be just discarded.
Currently implemented only for Windows. Should be easy to port to other OSes using
madvise, but needs additional measurements.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+54 lines, -0 lines) |
Patch |
 |
M |
src/heap.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform-freebsd.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform-linux.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform-macos.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform-nullos.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/platform-win32.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/spaces.h
|
View
|
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/spaces-inl.h
|
View
|
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|