Reviewers: Erik Corry, Vyacheslav Egorov,

Message:
This CL uses idle notifications to make kMaxIdleCount incremental GC cycles and
then to wait until the mutator creates more garbage.

A GC cycle consists of:
1. many incremental marking steps,
2. one old space mark-sweep-compact,
3. many lazy sweep steps.

It works well with low-frequency idle notifications (>100ms) and is needed for this CL http://codereview.chromium.org/8519001/ which sends idle notifications
when the user is idle.

High-frequency idle notifications can be enabled by tweaking the constants and
heuristics, but first we need to land these two CLs without performance
regression.

Description:
Start incremental marking on idle notification (second version).


BUG=
TEST=


Please review this at http://codereview.chromium.org/8519002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/heap.h
  M src/heap.cc
  M src/incremental-marking.h
  M src/incremental-marking.cc
  M test/cctest/test-heap.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to