4 ms·
> Slide 10 shows the benchmark differences, and I found them a little suspect. To be fair, they follow a slide about general performance, 4 slides after the GC
by masklinn 12y ago
> Slide 10 shows the benchmark differences, and I found them a little suspect.
To be fair, they follow a slide about general performance, 4 slides after the GC slides.
And from the concurrent GC slide it looks (as one would expect) that the GC burns significantly more resources overall (it's not just longer wallclock), though it rarely completely stops the world anymore: on the right-hand side, where the old GC would burn 1 unit of CPU for 240ms (3 * 80ms), the new one burns half a unit of CPU for 900ms (plus a unit for 2ms), which mean it's using 452ms of CPU, close to twice as much as the old one. Though the application pauses significantly less (which is good for responsivity), that's CPU time it doesn't get to use anymore. The concurrent GC also "leaves off" more work for later, the left-hand side graphs show relatively low CGC use for the first 7s, followed by a spike and then much, much longer GC runs (though at progressively lower CPU%).
I don't know about others, but it was my expectation that overall performance would take quite a hit for GC-heavy applications in 1.5.