My favorites | Sign in
v8
Project Home Downloads Wiki Issues Source Code Search
Checkout   Browse   Changes  
Revision: r12625
Author:  mstarzin...@chromium.org
Date:  Sep 27, 2012
Review scores: No one has yet scored this revision.
 

Log message

Implement committed physical memory stats for Linux.

The patch introduces CommittedPhysicalMemory function to the Heap class
that reports committed *physical* memory acquired from the OS.
It is important because some OSes may postpone actual commitment on e.g.
first access to the previously committed region.
So reporting just plain committed size led to various weird artifacts
like DevTools showing V8 allocated memory higher than the whole process
private size.

BUG=v8:2191

Review URL: https://codereview.chromium.org/10961042
Patch from Alexei Filippov <alph@chromium.org>.

Affected files

    expand all   collapse all
Modify/branches/bleeding_edge/include/v8.hdiff
Modify/branches/bleeding_edge/src/api.ccdiff
Modify/branches/bleeding_edge/src/heap.ccdiff
Modify/branches/bleeding_edge/src/heap.hdiff
Modify/branches/bleeding_edge/src/platform-cygwin.ccdiff
Modify/branches/bleeding_edge/src/platform-freebsd.ccdiff
Modify/branches/bleeding_edge/src/platform-linux.ccdiff
Modify/branches/bleeding_edge/src/platform-macos.ccdiff
Modify/branches/bleeding_edge/src/platform-nullos.ccdiff
Modify/branches/bleeding_edge/src/platform-openbsd.ccdiff
Modify/branches/bleeding_edge/src/platform-solaris.ccdiff
Modify/branches/bleeding_edge/src/platform-win32.ccdiff
Modify/branches/bleeding_edge/src/platform.hdiff
Modify/branches/bleeding_edge/src/spaces.ccdiff
Modify/branches/bleeding_edge/src/spaces.hdiff

Project members, sign in to write a code review
Powered by Google Project Hosting