Reviewers: Hannes Payer,

Description:
Fix stale entries in optimized code map.

This fixes a corner-case where entending an optimized code map left
stale entries in the abandoned copy. This can cause havoc not only in
the heap verifier but also in the GC, because stale entries have not
been recorded when being trated weakly.

Note that this also pre-tenures all optimized code maps into old-space
because their lifetime is coupled to the SharedFunctionInfo anyways.

[email protected]
TEST=cctest/test-heap/Regress514122
BUG=chromium:514122
LOG=N

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

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

Affected files (+97, -10 lines):
  M src/objects.cc
  M test/cctest/test-heap.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