2 ms·
That's a target. (GC ergonomics) It won't guarantee it, just tires to size things (eden space, survivor spaces) and time things to meet its target. But it's a
by pas 10y ago
That's a target. (GC ergonomics)
It won't guarantee it, just tires to size things (eden space, survivor spaces) and time things to meet its target.
But it's a fickle beast. And usually it requires a lot of tinkering with the code for it to be able to meet it. And then it's easier to disable ergonomics, set fixed sizes, and just enjoy how blazingly fast CMS is, restart the app every few weeks (CMS heap fragmentation), and try G1 with every new point release, maybe finally it beats CMS.