RFR: 8286066: assert(k != __null) failed: klass not loaded caused by FillerObject_klass [v8]

Jie Fu jiefu at openjdk.java.net
Thu May 5 02:04:18 UTC 2022


On Thu, 5 May 2022 01:34:22 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/cds/appcds/FillerObjectLoadTest.java line 41:
>> 
>>> 39:                 "-XX:+IgnoreUnrecognizedVMOptions", "-XX:-UseCompressedClassPointers",
>>> 40:                 "-XX:+UnlockExperimentalVMOptions", "-XX:+UseEpsilonGC", "-Xshare:dump",
>>> 41:                 "-XX:SharedArchiveFile=./hello.jsa");
>> 
>> Use ` TestCommon.getCurrentArchiveName()` to get a unique name to use.
>
> Actually that might be overkill for this simple case ... I wonder if @iklam  could comment?
> 
> hello.jsa is a bit of a weird name to use though :)

> Use ` TestCommon.getCurrentArchiveName()` to get a unique name to use.

Hi @dholmes-ora , I didn't get the point why we need to get a unique name.
What's the problem if we always use the same name?
Thanks.

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

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



More information about the hotspot-gc-dev mailing list