8268857: Merge VM_PrintJNI and VM_PrintThreads and remove the unused field 'is_deadlock' of DeadlockCycle

Reviewed-by: dholmes
This commit is contained in:
Denghui Dong 2021-06-22 08:28:18 +00:00 committed by Yi Yang
parent 1a818154cf
commit 1f0ea7c3d6
8 changed files with 18 additions and 46 deletions

View file

@ -168,6 +168,9 @@ bool VM_PrintThreads::doit_prologue() {
void VM_PrintThreads::doit() {
Threads::print_on(_out, true, false, _print_concurrent_locks, _print_extended_info);
if (_print_jni_handle_info) {
JNIHandles::print_on(_out);
}
}
void VM_PrintThreads::doit_epilogue() {
@ -177,10 +180,6 @@ void VM_PrintThreads::doit_epilogue() {
}
}
void VM_PrintJNI::doit() {
JNIHandles::print_on(_out);
}
void VM_PrintMetadata::doit() {
metaspace::MetaspaceReporter::print_report(_out, _scale, _flags);
}