зеркало из https://github.com/mozilla/gecko-dev.git
Bug 979047, part 2 - Remove unused endGCTime assignments. r=smaug
This commit is contained in:
Родитель
4ee753c914
Коммит
6246ff9e19
|
@ -2069,15 +2069,11 @@ CycleCollectorStats::PrepareForCycleCollectionSlice(int32_t aExtraForgetSkippabl
|
|||
mBeginSliceTime = TimeStamp::Now();
|
||||
|
||||
// Before we begin the cycle collection, make sure there is no active GC.
|
||||
TimeStamp endGCTime;
|
||||
if (sCCLockedOut) {
|
||||
mAnyLockedOut = true;
|
||||
FinishAnyIncrementalGC();
|
||||
endGCTime = TimeStamp::Now();
|
||||
uint32_t gcTime = TimeBetween(mBeginSliceTime, endGCTime);
|
||||
uint32_t gcTime = TimeBetween(mBeginSliceTime, TimeStamp::Now());
|
||||
mMaxGCDuration = std::max(mMaxGCDuration, gcTime);
|
||||
} else {
|
||||
endGCTime = mBeginSliceTime;
|
||||
}
|
||||
|
||||
mExtraForgetSkippableCalls = aExtraForgetSkippableCalls;
|
||||
|
|
Загрузка…
Ссылка в новой задаче