RFR: 8255917: runtime/cds/SharedBaseAddress.java failed "assert(reserved_rgn != 0LL) failed: No reserved region" [v2]

Calvin Cheung ccheung at openjdk.java.net
Mon Dec 14 19:11:59 UTC 2020


On Mon, 14 Dec 2020 18:18:46 GMT, Yumin Qi <minqi at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java line 61:
>> 
>>> 59:                                      "-XX:NativeMemoryTracking=detail",
>>> 60:                                      "-XX:SharedBaseAddress=0",
>>> 61:                                      "Hello");
>> 
>> Instead of `TestCommon.exec`, you could use `TestCommon.execAuto` and no need to pass the `-Xshare:auto` argument.
>
> Changed to execAuto, remove "-Xshare:auto", it failed on "Error: Could not find or load main class non-exist.jar" so i will keep original version.

I think you'll need to add `"-cp"` before `"non-exist.jar"` for execAuto to work.
I'm fine to leave it as is.

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

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


More information about the hotspot-dev mailing list