RFR: 8257774: G1: Trigger collect when free region count drops below threshold to prevent evacuation failures [v5]

Aditya Mandaleeka adityam at openjdk.java.net
Mon May 3 22:06:50 UTC 2021


On Mon, 3 May 2021 17:18:05 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Aditya Mandaleeka has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove temp comment.
>
> Fyi, I've been running this change through our performance test suite, and there are two notable differences in results in the Renaissance benchmark suite (http://renaissance.dev):
> * Renaissance-Neo4jAnalytics improves in scores (avg. runtime) by ~10%
> * Renaissance-Scrabble decreases in scores (avg. runtime) by ~10%
> 
> For the latter more concerning result in renaissance-scrabble, we use the JMH wrappers which should be part of the benchmark suite (I think), and run jmh with `-t 1 -i 15 -wi 25 -f 10`.
> 
> Original results:
> 
> Result "org.renaissance.jdk.streams.JmhScrabble.runOperation":
>   N = 150
>   mean =    232.878 ±(99.9%) 5.846 ms/op
> 
> Changes:
> 
> Result "org.renaissance.jdk.streams.JmhScrabble.runOperation":
>   N = 150
>   mean =    265.658 ±(99.9%) 11.011 ms/op
> 
> 
> There are significant differences I can't explain right now. It may be due to (since we do not use any special VM options except logging) heap sizing or similar, but can you look into this a bit?
> I'll probably retry with a rebase on latest, maybe I screwed up with the builds. There is no proactive gc in this particular benchmark run, but I can see that e.g. neo4j has some, so builds should be correct.

Thanks @tschatzl and @kstefanj. I'll push an update and try to reproduce/investigate those performance deltas on Renaissance.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3143



More information about the hotspot-gc-dev mailing list