Reviewers: Hannes Payer,

Message:
PTAL. This relands parts of CL 794583003. The difference is that we retain only
maps embedded in optimized code, which avoid maps space iteration.

Description:
Retain maps embedded in optimized code for several garbage collections.

This keeps dying maps alive for FLAG_retain_maps_for_n_gc garbage collections
to increase chances of them being reused for new objects in future and
decrease number of deoptimizations.


BUG=v8:3664
LOG=N
TEST=cctest/test-heap/MapRetaining

Please review this at https://codereview.chromium.org/980523004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+255, -2 lines):
  M include/v8.h
  M src/flag-definitions.h
  M src/heap/heap.h
  M src/heap/heap.cc
  M src/heap/mark-compact.h
  M src/heap/mark-compact.cc
  M src/lithium.cc
  M src/objects.h
  M src/objects.cc
  M src/objects-inl.h
  M test/cctest/cctest.gyp
  M test/cctest/test-api.cc
  A test/cctest/test-array-list.cc
  M test/cctest/test-heap.cc
  M test/cctest/test-mark-compact.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to