Reviewers: Kevin Millikin, Kevin C, Message: Kevin and Søren,
that's not quite a call for review (but I would really appreciate if you could comment). The problem is I am not aware of the way to find out number of maps which are marked. Currently I piggyback on additional stuff in Debug mode (which actually calculates the number of live maps). Are you aware of any other ways to find out number of live maps cheaply? If not, I can see two ways out: 1) move live map (all objects?) counting logic out of debug mode (performance overhead?); 2) use another compaction approach you suggested before (compacting from the end if the space). Modulo that this a working CL (in debug mode). Description: Compact map space when doing mark-sweep if after collection size of map space would drop below threshold. Please review this at http://codereview.chromium.org/509035 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/heap.h M src/heap.cc M src/mark-compact.h M src/mark-compact.cc M src/spaces.h -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
