Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. followup. r=orange

This commit is contained in:
Gregor Wagner 2012-10-26 17:40:39 -07:00
parent e4b01522f0
commit 062f4e3632

View File

@ -757,7 +757,7 @@ JSRuntime::JSRuntime(JSUseHelperThreads useHelperThreads)
gcLastGCTime(0),
gcJitReleaseTime(0),
gcMode(JSGC_MODE_GLOBAL),
gcAllocationThreshold(30),
gcAllocationThreshold(30 * 1024 * 1024),
gcHighFrequencyGC(false),
gcHighFrequencyTimeThreshold(1000),
gcHighFrequencyLowLimitBytes(100 * 1024 * 1024),