DescriptionMake embedded maps in optimized code weak.
Each map has a weak array of dependent codes, where the map tracks all the optimized codes that embed it.
Old space GC either clears the dead dependent codes from the array if the corresponding map is alive or deoptimizes the live dependent codes if the map is dead.
BUG=v8:2073
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=13490
Patch Set 1 : #
Total comments: 7
Patch Set 2 : Derive DependentCodes from FixedArray. #Patch Set 3 : Fix skipping of maps in visitors. #
Total comments: 14
Patch Set 4 : Add test that reproduces memleak and rebase. #
Total comments: 9
Patch Set 5 : Address comments" #
Total comments: 14
Patch Set 6 : Address more comments #Patch Set 7 : Cleanup #Patch Set 8 : #
Messages
Total messages: 8 (0 generated)
|