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:
Daniel D. Daugherty 2013-02-06 14:31:37 -08:00
parent de47c5722f
commit 8ef946f380
11 changed files with 253 additions and 152 deletions

View file

@ -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);
}