mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 888313 - Update generational GC tuning parameters for better EarlyBoyer performance; r=jandem
--HG-- extra : rebase_source : 0da9dfb64a6e63ff3eade490b0f20cc00528a161
This commit is contained in:
parent
61dde7e67c
commit
ecd92774b9
@ -655,9 +655,9 @@ js::Nursery::collect(JSRuntime *rt, JS::gcreason::Reason reason)
|
||||
|
||||
/* Resize the nursery. */
|
||||
double promotionRate = trc.tenuredSize / double(allocationEnd() - start());
|
||||
if (promotionRate > 0.5)
|
||||
if (promotionRate > 0.05)
|
||||
growAllocableSpace();
|
||||
else if (promotionRate < 0.1)
|
||||
else if (promotionRate < 0.01)
|
||||
shrinkAllocableSpace();
|
||||
|
||||
/* Sweep. */
|
||||
|
@ -34,7 +34,7 @@ class BaselineCompiler;
|
||||
class Nursery
|
||||
{
|
||||
public:
|
||||
const static int NumNurseryChunks = 8;
|
||||
const static int NumNurseryChunks = 16;
|
||||
const static int LastNurseryChunk = NumNurseryChunks - 1;
|
||||
const static size_t Alignment = gc::ChunkSize;
|
||||
const static size_t NurserySize = gc::ChunkSize * NumNurseryChunks;
|
||||
|
Loading…
Reference in New Issue
Block a user