RFR: 8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Thomas Schatzl
tschatzl at openjdk.org
Wed Dec 20 10:18:49 UTC 2023
On Tue, 19 Dec 2023 10:08:14 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
> Hi all,
>
> please review this change that changes the filler array class name (again) after user feedback.
>
> In particular, the previous name `Ljdk/internal/vm/FillerArray;` confuses some tools (https://github.com/oracle/visualvm/issues/523). I.e. it's not an array, but still variable sized.
> This change adds the `[` array bracket, and renames the element name to not have `Array` inside to not try to pretend that the element is some other kind of array.
>
> Testing: tier1-6
>
> Thanks,
> Thomas
Fwiw, the original issue introducing details the advantages too https://bugs.openjdk.org/browse/JDK-8284435; it does not particularly point out how much memory this saves, but it mentions that it removes the need for keeping around an extra mark bitmap covering the whole Java heap (that 1.5%).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17155#issuecomment-1864209478
More information about the hotspot-gc-dev
mailing list