RFR: 8260933: runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails without CompactStrings

Ioi Lam iklam at openjdk.java.net
Mon Mar 1 23:55:50 UTC 2021


On Mon, 1 Mar 2021 23:52:33 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Fixed runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java to check java/lang/Integer$IntegerCache instead of java.lang.Long$LongCache. java.lang.Long$LongCache may not be initialized under some configurations. Tested with & without -XX:-CompactStrings.
>
> LGTM. Thanks for fixing this.

BTW, I think this qualifies as a trivial change.

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

PR: https://git.openjdk.java.net/jdk/pull/2783


More information about the hotspot-runtime-dev mailing list