|
Implement committed physical memory stats for Linux.
The patch introduces CommittedPhysicalMemory function to
the Heap class that reports committed *physical* memory acquired
for the heap from the OS.
It is important because some OSes may defer actual committment on e.g.
first access to the region.
So reporting just plain committed size led to various weird artifacts
like showing V8 allocated memory higher than the whole process
private size.
BUG= v8:2191
Committed: https://code.google.com/p/v8/source/detail?r=12793
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+162 lines, -1 line) |
Patch |
|
M |
include/v8.h
|
View
|
1
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/api.cc
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-cygwin.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-freebsd.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-linux.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-macos.cc
|
View
|
1
|
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-openbsd.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-solaris.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-win32.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/spaces.h
|
View
|
1
|
8 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
|
M |
src/spaces.cc
|
View
|
1
|
6 chunks |
+48 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/spaces-inl.h
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|