hg: jdk/submit: 8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping

calvin.cheung at oracle.com calvin.cheung at oracle.com
Sat Nov 17 00:12:28 UTC 2018


Changeset: dfa02b3f728c
Author:    ccheung
Date:      2018-11-16 16:10 -0800
URL:       http://hg.openjdk.java.net/jdk/submit/rev/dfa02b3f728c

8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
Summary: Allow Java agent during CDS dumping if the AllowArchivingWithJavaAgent dignostic option is specified.
Reviewed-by: iklam, jiangli, sspitsyn, dcubed

! src/hotspot/share/memory/filemap.cpp
! src/hotspot/share/memory/filemap.hpp
! src/hotspot/share/memory/metaspaceShared.cpp
! src/hotspot/share/runtime/globals.hpp
! src/hotspot/share/runtime/thread.cpp
! test/hotspot/jtreg/runtime/appcds/javaldr/AnonVmClassesDuringDump.java
! test/hotspot/jtreg/runtime/appcds/javaldr/GCDuringDump.java
! test/hotspot/jtreg/runtime/appcds/javaldr/GCSharedStringsDuringDump.java
+ test/hotspot/jtreg/runtime/appcds/jvmti/dumpingWithAgent/DumpingWithJavaAgent.java
+ test/hotspot/jtreg/runtime/appcds/jvmti/dumpingWithAgent/DumpingWithJvmtiAgent.java
+ test/hotspot/jtreg/runtime/appcds/jvmti/dumpingWithAgent/SimpleAgent.java
+ test/hotspot/jtreg/runtime/appcds/jvmti/dumpingWithAgent/SimpleAgent.mf
+ test/hotspot/jtreg/runtime/appcds/jvmti/dumpingWithAgent/libAddToSystemCLSearchOnLoad.c



More information about the jdk-submit-changes mailing list