RFR (XS): 8205043: Make parallel reference processing default for G1
Stefan Johansson
stefan.johansson at oracle.com
Fri Jun 15 13:19:41 UTC 2018
On 2018-06-14 14:08, Thomas Schatzl wrote:
> Hi all,
>
> can I have reviews for this split-off of JDK-8043575 to make parallel
> reference processing in conjunction with dynamic number of thread
> sizing default for G1?
>
> We think that with recent changes to parallel reference processing it
> is useful to do so, further nowadays we expect that most VMs are run
> with more than one GC thread. So reference processing should benefit
> from that as well by default.
>
> Threads are by default automatically limited by the functionality
> introduced with JDK-8043575 to avoid actually being slower than before
> if using too many threads.
>
> This is also the reason why we only suggest to make
> ParallelRefProcEnabled default for G1: the thread sizing does not work
> with other collectors.
>
> There is also a linked CSR for that change.
>
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8205043
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8205043/webrev/
Looks good,
StefanJ
> Testing:
> new included test case
>
> Thanks,
> Thomas
>
More information about the hotspot-gc-dev
mailing list