Reviewers: Toon Verwaest,

Message:
PTAL

Description:
Fix 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

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

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

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