RFR: JDK-8309297: Adjust ShenandoahHeap print_heap_regions_on

Martin Doerr mdoerr at openjdk.org
Thu Jun 1 16:01:08 UTC 2023


On Thu, 1 Jun 2023 14:45:16 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The ShenandoahHeap print_heap_regions_on method prints some brief description of the columns of the heap table, however the description is unsorted and seems to be not fully up to date.
> 
> Another thought - is the critical pins column (CP=critical pins)  still needed or always 0  and obsolete now?

`CP` is still used by `jni_GetPrimitiveArrayCritical` and `jni_GetStringCritical`. (Object pinning for critical JNI natives was already removed by https://bugs.openjdk.org/browse/JDK-8233343.)

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

PR Comment: https://git.openjdk.org/jdk/pull/14264#issuecomment-1572321489


More information about the hotspot-gc-dev mailing list