mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8259070: Add jcmd option to dump CDS
Reviewed-by: ccheung, iklam, mli
This commit is contained in:
parent
593194864a
commit
e7cbeba866
23 changed files with 800 additions and 75 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -63,3 +63,13 @@ JNIEXPORT void JNICALL
|
|||
Java_jdk_internal_misc_CDS_logLambdaFormInvoker(JNIEnv *env, jclass jcls, jstring line) {
|
||||
JVM_LogLambdaFormInvoker(env, line);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_jdk_internal_misc_CDS_dumpClassList(JNIEnv *env, jclass jcls, jstring fileName) {
|
||||
JVM_DumpClassListToFile(env, fileName);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_jdk_internal_misc_CDS_dumpDynamicArchive(JNIEnv *env, jclass jcls, jstring archiveName) {
|
||||
JVM_DumpDynamicArchive(env, archiveName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue