RFR: 8256265 G1: Improve parallelism in regions that failed evacuation [v2]

Hamlin Li mli at openjdk.java.net
Wed Dec 15 01:02:58 UTC 2021


On Tue, 14 Dec 2021 11:50:01 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> > Sure, I think your PoC is good. I just had a draft version of parallelizing evac failure processing in chunks, I use it to evaluate the potential benefit of parallelism based on your PoC, seems my initial version does not bring much benefit, I think it might be because of mark bit map does not works well when I parallelize in chunks, I will invetigate further. here is my draft version: [master...Hamlin-Li:parallelize-evac-failure-v2-in-bm](https://github.com/openjdk/jdk/compare/master...Hamlin-Li:parallelize-evac-failure-v2-in-bm)
> 
> Thanks for taking a stab at this. I don't have time to look at it in detail now, but I think you should be able to re-use some of the ideas used when chunking regions for bebuilding the remembered sets. Look at `G1RebuildRemSetTask`.

Thanks for the information.
> 
> I'll try to find time this week to clean the PoC and get it out for review. But I will soon be out on vacation over the holidays, so not sure I will get it in before that.
Sure, please take your time. :)

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

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



More information about the hotspot-gc-dev mailing list