mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
7182152: Instrumentation hot swap test incorrect monitor count
Add/refine new tracing support using -XX:TraceRedefineClasses=16384. Reviewed-by: coleenp, acorn, sspitsyn
This commit is contained in:
parent
de47c5722f
commit
8ef946f380
11 changed files with 253 additions and 152 deletions
|
@ -1386,9 +1386,9 @@ void Method::sort_methods(Array<Method*>* methods,
|
|||
|
||||
|
||||
//-----------------------------------------------------------------------------------
|
||||
// Non-product code
|
||||
// Non-product code unless JVM/TI needs it
|
||||
|
||||
#ifndef PRODUCT
|
||||
#if !defined(PRODUCT) || INCLUDE_JVMTI
|
||||
class SignatureTypePrinter : public SignatureTypeNames {
|
||||
private:
|
||||
outputStream* _st;
|
||||
|
@ -1423,8 +1423,13 @@ void Method::print_name(outputStream* st) {
|
|||
sig.print_parameters();
|
||||
st->print(")");
|
||||
}
|
||||
#endif // !PRODUCT || INCLUDE_JVMTI
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------------
|
||||
// Non-product code
|
||||
|
||||
#ifndef PRODUCT
|
||||
void Method::print_codes_on(outputStream* st) const {
|
||||
print_codes_on(0, code_size(), st);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue