RFR: 8373411: Crash when PrintSharedArchiveAndExit is enabled but shared heap is disabled

Aleksey Shipilev shade at openjdk.org
Thu Dec 11 09:26:10 UTC 2025


On Thu, 11 Dec 2025 08:45:42 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> test/hotspot/jtreg/runtime/cds/PrintSharedArchiveAndExitNoHeap.java line 26:
>> 
>>> 24: /**
>>> 25:  * @test
>>> 26:  * @summary Testing -XX:+PrintSharedArchiveAndExit option with no shared heap
>> 
>> Please add bug ID.
>
> Just curious: why is that important? I would have guessed that the git history would be sufficient to figure this out.

jtreg allows running the tests related to a particular bug ID: https://openjdk.org/jtreg/command-help.html -- although I don't know who uses this feature instead of just running the majority of the tests most of the time :)


    -bug:<bugid>    Run only those tests which apply to the given bugid.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28741#discussion_r2609821185


More information about the hotspot-runtime-dev mailing list