[turbofan] Preserve cached code across GCs.
authormstarzinger <mstarzinger@chromium.org>
Wed, 22 Jul 2015 14:03:59 +0000 (07:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jul 2015 14:04:08 +0000 (14:04 +0000)
commit2c07b0d045829da2e61e7c94bdcba89581e4866b
tree36fabb8b684e583a0ca8f0ac0bc4fa79cc37091e
parent26ffee2c718308bb85be072ed32479e4aa8e7e6b
[turbofan] Preserve cached code across GCs.

This preserves the context-independent entry in an optimized code map
across GCs when the code is considered young (i.e. less than 3 ages).
Note that any context-dependent entry for the same code will still be
flushed immediately when the respective context dies, hence context
lifetime is not increased.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/1252463002

Cr-Commit-Position: refs/heads/master@{#29790}
src/flag-definitions.h
src/heap/objects-visiting-inl.h
src/heap/objects-visiting.h