4 ms·
Interesting, makes sense. So presumably if you ran the benchmark over a long enough time, performance would take a dive while the gc did its thing.
by mysterydip 6y ago
Interesting, makes sense. So presumably if you ran the benchmark over a long enough time, performance would take a dive while the gc did its thing.
- oriolid 6y agoPossibly. I haven't tried running this benchmark with different heap sizes, but to me the 99% latency looks like it doesn't try to avoid GC. The JVM is really fast at memory management.
- kaba0 5y agoDuring the benchmark's duration, the GC was definitely ran. Java simply has really advanced GCs.