RFR: 8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing
Ioi Lam
iklam at openjdk.java.net
Thu Nov 18 08:51:45 UTC 2021
On Wed, 17 Nov 2021 21:33:24 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
>> Please fix this trivial fix. The affected test case expected the following message
>>
>>
>> -XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:
>>
>>
>> but if we run with `jtreg -vmoption:-Xshare:off` the test case takes a different path, resulting in a different message:
>>
>>
>> Cannot have more than 1 archive file specified in -XX:SharedArchiveFile during CDS dumping
>>
>>
>> Since the latter message is already being tested in another case in SharedArchiveFileOption.java, we can simple disable this test case under this condition.
>
> LGTM.
Thanks @calvinccheung and @hseigel for the review.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6437
More information about the hotspot-runtime-dev
mailing list