hg: jdk/sandbox: 8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Sat Nov 17 00:15:25 UTC 2018
Changeset: dfa02b3f728c
Author: ccheung
Date: 2018-11-16 16:10 -0800
URL: http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes
mailing list