зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1124581 - Remove dead code related to conservative scanner r=terrence
This commit is contained in:
Родитель
0819272171
Коммит
adbb129754
|
@ -219,7 +219,6 @@ gc::GCRuntime::startVerifyPreBarriers()
|
|||
/* Create the root node. */
|
||||
trc->curnode = MakeNode(trc, nullptr, JSGCTraceKind(0));
|
||||
|
||||
/* We want MarkRuntime to save the roots to gcSavedRoots. */
|
||||
incrementalState = MARK_ROOTS;
|
||||
|
||||
/* Make all the roots be edges emanating from the root node. */
|
||||
|
|
|
@ -496,22 +496,6 @@ class PerThreadData : public PerThreadDataFriendFields
|
|||
JSRuntime *runtime_;
|
||||
|
||||
public:
|
||||
/*
|
||||
* We save all conservative scanned roots in this vector so that
|
||||
* conservative scanning can be "replayed" deterministically. In DEBUG mode,
|
||||
* this allows us to run a non-incremental GC after every incremental GC to
|
||||
* ensure that no objects were missed.
|
||||
*/
|
||||
#ifdef DEBUG
|
||||
struct SavedGCRoot {
|
||||
void *thing;
|
||||
JSGCTraceKind kind;
|
||||
|
||||
SavedGCRoot(void *thing, JSGCTraceKind kind) : thing(thing), kind(kind) {}
|
||||
};
|
||||
js::Vector<SavedGCRoot, 0, js::SystemAllocPolicy> gcSavedRoots;
|
||||
#endif
|
||||
|
||||
#ifdef JS_TRACE_LOGGING
|
||||
TraceLoggerThread *traceLogger;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче