mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1561296 - Fix occurences of gray spelled as grey r=allstarschh DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D35804
This commit is contained in:
parent
e6fe246634
commit
1a625b6d2a
@ -382,7 +382,7 @@ bool TenuredCell::isInsideZone(JS::Zone* zone) const {
|
||||
}
|
||||
|
||||
if (thing->isMarkedGray()) {
|
||||
// There shouldn't be anything marked grey unless we're on the main thread.
|
||||
// There shouldn't be anything marked gray unless we're on the main thread.
|
||||
MOZ_ASSERT(CurrentThreadCanAccessRuntime(thing->runtimeFromAnyThread()));
|
||||
if (!JS::RuntimeHeapIsCollecting()) {
|
||||
JS::UnmarkGrayGCThingRecursively(
|
||||
|
@ -5246,7 +5246,7 @@ void GCRuntime::getNextSweepGroup() {
|
||||
*
|
||||
* This means that when marking things gray we must not allow marking to leave
|
||||
* the current compartment group, as that could result in things being marked
|
||||
* grey when they might subsequently be marked black. To achieve this, when we
|
||||
* gray when they might subsequently be marked black. To achieve this, when we
|
||||
* find a cross compartment pointer we don't mark the referent but add it to a
|
||||
* singly-linked list of incoming gray pointers that is stored with each
|
||||
* compartment.
|
||||
|
Loading…
Reference in New Issue
Block a user