DescriptionTests that the GC doesn't mistake non-pointer constant pool entries as pointers.
Adds a test for ConstantPoolArray to ensure that the GC
doesn't mistake non-pointer entries as pointers and try
to modify them during scavenge operations.
Also adds asserts to ConstantPoolArray::set(int, *Object) to
ensure we don't add new-space pointers in constant pool
array.
R=hpayer@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=22608
Committed: https://code.google.com/p/v8/source/detail?r=22634
Patch Set 1 #Patch Set 2 : Avoid putting pointer to newspace object in constant pool and add asserts. #Patch Set 3 : Fix "loses precision" warning. #Patch Set 4 : Don't add new-space pointers to constant pool in tests, and add ConstantPoolCompacting test #
Total comments: 4
Patch Set 5 : Add isOldSpace checks #Messages
Total messages: 9 (0 generated)
|