Integrated: 8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo

Ioi Lam iklam at openjdk.java.net
Tue Nov 16 21:07:41 UTC 2021


On Mon, 15 Nov 2021 07:50:13 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> [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.

This pull request has now been integrated.

Changeset: a77d8ddf
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a77d8ddf11fba33007a4f5c0468d69de23f10f6a
Stats:     313 lines in 11 files changed: 200 ins; 58 del; 55 mod

8276787: Improve warning messages for -XX:+RecordDynamicDumpInfo

Reviewed-by: ccheung, stuefe

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

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


More information about the hotspot-runtime-dev mailing list