DescriptionASSERT that Visitor::mark is only called when inGC()
This CL adds an ASSERT to check that Visitor::mark is only called when
all threads are parked and the gc state is at ThreadState::inGC().
The current exception to this is ephemeron weak processing, where it call
trace() to see if an element is dead. This should be refactored in future
so that it would check without calling trace(), but it is left as
an exception as of now.
BUG=210454
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188420
Patch Set 1 #
Total comments: 6
Patch Set 2 : haraken #
Total comments: 4
Patch Set 3 : m_visitor #
Messages
Total messages: 16 (6 generated)
|