Bug 558833 - Fix GCTIMER for SweepDoubles. r=jorendorff.

--HG--
extra : rebase_source : 7492dd5a7bbed917ad4177685631ea1163193579
This commit is contained in:
Gregor Wagner 2010-04-13 08:58:40 -05:00
Родитель 99d9e743b4
Коммит d30fddbdb8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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