DescriptionDo not invoke async method on a GC-unreachable object.
For AsyncMethodRunner<Target> where Target is a garbage collected type,
we cannot have the async method runner safely call a method on an object
instance if that object has been determined as being unreachable by the
GC marking phase, but it _or_ any of the objects that it refers to hasn't
been swept yet.
This aligns the treatment of AsyncMethodRunner<> over garbage collected
objects with that of Timer<>.
R=haraken
BUG=420515
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194437
Patch Set 1 #
Total comments: 2
Patch Set 2 : Clarify that added is-alive check will be redundant once object is on the heap #Messages
Total messages: 10 (3 generated)
|