DescriptionIn-place shrinking of descriptor arrays with non-live transitions.
Instead of overwriting non-live transitions with NULL_DESCRIPTORs, we remove them from the array by compacting the array (shifting live values to the left) and in-place trimming the array. If the final descriptor array contains no live values (only contained transitions which are now all cleared), we move bit_field3 back from the descriptor array to the map. The descriptor array itself will be collected in the next GC.
BUG=
TEST=
Committed: https://code.google.com/p/v8/source/detail?r=11922
Patch Set 1 #
Total comments: 22
Patch Set 2 : Addressing comments #
Total comments: 5
Created: 8 years, 6 months ago
Messages
Total messages: 4 (0 generated)
|