RFR: 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
Ioi Lam
iklam at openjdk.java.net
Mon Nov 15 08:08:56 UTC 2021
[1] Fixed the error messages for the three scenarios described in the bug report. See the test SharedArchiveFileOption.java for new test cases for these messages.
[2] The global SharedDynamicArchivePath was used for both reading and writing the dynamic archive. Now the writing part is handled by DynamicArchiveBuilder::_archive_name. This simplifies the logic in Arguments::init_shared_archive_paths() and DynamicArchive::dump_for_jcmd(). It also makes the checks in [1] easier to implement.
Testing: running through Oracle CI tiers 1-4.
-------------
Commit messages:
- fixed trailing whitespaces
- 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo
Changes: https://git.openjdk.java.net/jdk/pull/6383/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6383&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8276787
Stats: 308 lines in 11 files changed: 199 ins; 58 del; 51 mod
Patch: https://git.openjdk.java.net/jdk/pull/6383.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6383/head:pull/6383
PR: https://git.openjdk.java.net/jdk/pull/6383
More information about the hotspot-runtime-dev
mailing list