RFR: 8342642: Class loading failure due to archived map issue in ModuleLoaderMap.Mapper
Ioi Lam
iklam at openjdk.org
Thu Oct 24 05:54:03 UTC 2024
On Thu, 24 Oct 2024 05:05:55 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> @iklam Would it be possible to comment on this? If the system properties to configure the range of integer cache are set at runtime, does it just not use this archived object graph? I'm wondering if it should disable CDS?
A better fix would be:
If runtime java.lang.Integer.IntegerCache.high < dumptime java.lang.Integer.IntegerCache.high
-- copy the initial elements from the dumptime cache array
-- fill the rest of the cache array
that way, we will still preserve the object identity of the Integers created during dump time.
I think we need to do the same thing for the other box cases.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21672#issuecomment-2434359711
More information about the core-libs-dev
mailing list