DescriptionOilpan: fix tracing of un-initialized part objects during conservative GCs.
If a part object has a virtual trace method we need to check the vtable
before calling the trace method. This is necessary because conservative
GCs can see the part object before it has been constructed (if there
is an allocation during the construction of the containing object.)
Added simple regression test that illustrates the issue.
R=erik.corry@gmail.com, zerny@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180335
Patch Set 1 #
Total comments: 2
Patch Set 2 : Change handling of null vtable on stack-reachable object #Patch Set 3 : rebased #
Messages
Total messages: 11 (0 generated)
|