al...@chromium.org
unread,Oct 11, 2012, 9:17:23 AM10/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mstar...@chromium.org, da...@chromium.org, veg...@chromium.org, v8-...@googlegroups.com, yu...@chromium.org, loi...@chromium.org
Reviewers: Michael Starzinger, danno, Vyacheslav Egorov,
Message:
Michael,
I've implemented the committed physical size approximation without use of
mincore which happened to be prohibited in the sandbox. PTAL.
Description:
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
Please review this at
https://chromiumcodereview.appspot.com/11066118/
SVN Base:
https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M include/v8.h
M src/api.cc
M src/heap.h
M src/heap.cc
M src/platform-cygwin.cc
M src/platform-freebsd.cc
M src/platform-linux.cc
M src/platform-macos.cc
M src/platform-nullos.cc
M src/platform-openbsd.cc
M src/platform-solaris.cc
M src/platform-win32.cc
M src/platform.h
M src/spaces-inl.h
M src/spaces.h
M src/spaces.cc