Troubeshooting scanned cards in remembered sets

Rémi p torsakxx at gmail.com
Sun Feb 23 21:54:51 UTC 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20200223/56247457/attachment.htm>


More information about the hotspot-gc-use mailing list