I am looking into reducing the young collection pause times in my Java 11 application, particularly in the Scan RS step. AFAIK the duration of this phase is linear in the sum of sizes of the remembered sets of the regions in the collection set (=old->young region references).
Is there a built-in or recommended way to troubleshoot where all the old->young references are coming from? I was thinking about patching the hotspot code to log the object types of randomly sampled old->young links in order to give me some hints, but I am wondering if there is an easier/less intrusive solution. Thanks.
_______________________________________________ hotspot-gc-use mailing list hotspot-gc-use@openjdk.java.net https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use