mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8189688: NMT: Report per-class load metadata information
Report per-class loader metadata info via NMT jcmd metadata sub-command Reviewed-by: stuefe, coleenp
This commit is contained in:
parent
75d5090c81
commit
92ae7c8cfd
6 changed files with 273 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2017, 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
|
||||
|
@ -230,6 +230,10 @@ void VM_PrintJNI::doit() {
|
|||
JNIHandles::print_on(_out);
|
||||
}
|
||||
|
||||
void VM_PrintMetadata::doit() {
|
||||
MetaspaceAux::print_metadata_for_nmt(_out, _scale);
|
||||
}
|
||||
|
||||
VM_FindDeadlocks::~VM_FindDeadlocks() {
|
||||
if (_deadlocks != NULL) {
|
||||
DeadlockCycle* cycle = _deadlocks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue