mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1162622 - Check fewer traced things as it's too slow to check all edges; r=sfink
This commit is contained in:
parent
9caaa34b3a
commit
95c805cf73
@ -656,6 +656,7 @@ DoMarking(GCMarker* gcmarker, T thing)
|
||||
if (MustSkipMarking(thing))
|
||||
return;
|
||||
|
||||
CheckTracedThing(gcmarker, thing);
|
||||
gcmarker->traverse(thing);
|
||||
|
||||
// Mark the compartment as live.
|
||||
@ -788,7 +789,6 @@ template <typename T>
|
||||
bool
|
||||
js::GCMarker::mark(T* thing)
|
||||
{
|
||||
CheckTracedThing(this, thing);
|
||||
AssertZoneIsMarking(thing);
|
||||
MOZ_ASSERT(!IsInsideNursery(gc::TenuredCell::fromPointer(thing)));
|
||||
return gc::ParticipatesInCC<T>::value
|
||||
|
Loading…
Reference in New Issue
Block a user