[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Integrated: 8280353: -XX:ArchiveClassesAtExit should print warning if base archive failed to load
From:       Yumin Qi <minqi () openjdk ! java ! net>
Date:       2022-01-27 19:02:41
Message-ID: eMBy3cPQJYqHbicHWp_uypYjUU07yXS3iPhE09dJeiY=.fcf2d0ba-db83-478b-8018-bf3829f91148 () github ! com
[Download RAW message or body]

On Thu, 27 Jan 2022 04:48:37 GMT, Yumin Qi <minqi@openjdk.org> wrote:

> Hi, Please review
> 
> Before fix of 8261455 (https://bugs.openjdk.java.net/browse/JDK-8261455), when \
> -XX:ArchiveClassesAtExit=<archive_name> used to dump dynamic archive, if base \
> archive failed to load due to some reason with 'auto'  share mode, the process exit \
> with information like: 
> Error occurred during initialization of VM
> -XX:ArchiveClassesAtExit is unsupported when base CDS archive is not loaded. Run \
> with -Xlog:cds for more info. 
> This behavior is not correct. Under 'auto' mode, if shared archive failed to map, \
> CDS should be disabled and run without sharing. After the fix of 8261455, the \
> behavior is correct: if base archive failed to load under 'auto' mode, CDS is \
> disabled and continue without sharing. Print out VM warning if \
> -XX:ArchiveClassesAtExit=<archive_name> in option to do dynamic dump, the archive \
> will not be created. 
> Tests: tier1,tier4
> Also manually execute the examples in bug description.
> 
> Thanks
> Yumin

This pull request has now been integrated.

Changeset: a3a0dcd9
Author:    Yumin Qi <minqi@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a3a0dcd9215beb6baf43c6e94f8e16fb6a2ccf68
                
Stats:     3 lines in 1 file changed: 3 ins; 0 del; 0 mod

8280353: -XX:ArchiveClassesAtExit should print warning if base archive failed to load

Reviewed-by: iklam, ccheung

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic