Tweak compaction candidate selection to avoid keeping page with low occupancy around.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 3 Feb 2012 14:16:40 +0000 (14:16 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 3 Feb 2012 14:16:40 +0000 (14:16 +0000)
commita7b0481b6d9b943085cc81f44be30778e5ee07f4
treef3818676933788781aa407ec932d747d7d9f419c
parentb34e202b204490737102387722563fd1b5ae9b55
Tweak compaction candidate selection to avoid keeping page with low occupancy around.

Increase slots buffer chain length to 15 to make compaction more aggressive and usefull.

Pass gc and collector selection reasons to GCTracer to allow more meaningull --gc-trace.

Print fragmentation of spaces that we do not compact.

R=erik.corry@gmail.com

Review URL: https://chromiumcodereview.appspot.com/9323007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10601 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
src/api.cc
src/debug.cc
src/execution.cc
src/extensions/gc-extension.cc
src/heap-inl.h
src/heap.cc
src/heap.h
src/log.cc
src/mark-compact-inl.h
src/mark-compact.cc
src/mark-compact.h
src/mksnapshot.cc
src/profile-generator.cc
src/runtime.cc
src/spaces.h