DescriptionFix memory leak caused by field type in descriptor array.
When a field type is a map, it is wrapped in a weak cell upon storing to the descriptor array.
Map::GetFieldType(i) does the unwrapping.
BUG=v8:3877
LOG=N
TEST=cctest/test-heap/Regress3877
Committed: https://crrev.com/77d3ae0e119893ac8d34ea6ca090cddd5bbf987e
Cr-Commit-Position: refs/heads/master@{#26879}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Remove unused var in release. #
Messages
Total messages: 15 (5 generated)
|