mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1162622 - Check fewer traced things as it's too slow to check all edges; r=sfink
This commit is contained in:
parent
5fdcf72f12
commit
20ad1aeb15
@ -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