зеркало из https://github.com/mozilla/gecko-dev.git
Bug 558833 - Fix GCTIMER for SweepDoubles. r=jorendorff.
--HG-- extra : rebase_source : 7492dd5a7bbed917ad4177685631ea1163193579
This commit is contained in:
Родитель
99d9e743b4
Коммит
d30fddbdb8
|
@ -2882,7 +2882,6 @@ SweepDoubles(JSRuntime *rt, GCArenaReleaser *releaser)
|
|||
METER(UpdateArenaStats(&rt->gcStats.doubleArenaStats,
|
||||
nlivearenas, nkilledarenas, nthings));
|
||||
rt->gcDoubleArenaList.cursor = rt->gcDoubleArenaList.head;
|
||||
TIMESTAMP(gcTimer.sweepDoubleEnd);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -3075,6 +3074,7 @@ GC(JSContext *cx, JSGCInvocationKind gckind GCTIMER_PARAM)
|
|||
TIMESTAMP(gcTimer.sweepStringEnd);
|
||||
|
||||
SweepDoubles(rt, &arenaReleaser);
|
||||
TIMESTAMP(gcTimer.sweepDoubleEnd);
|
||||
|
||||
/*
|
||||
* Sweep the runtime's property tree after finalizing objects, in case any
|
||||
|
|
Загрузка…
Ссылка в новой задаче