mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8037970: make PrintMethodData a diagnostic options
Make PrintMethodData a diagnostic options for performance investigation Reviewed-by: kvn, iveresov
This commit is contained in:
parent
fa3b0a8f47
commit
b21d142f01
10 changed files with 83 additions and 142 deletions
|
@ -35,8 +35,6 @@
|
|||
#include "runtime/timer.hpp"
|
||||
|
||||
|
||||
#ifndef PRODUCT
|
||||
|
||||
// Standard closure for BytecodeTracer: prints the current bytecode
|
||||
// and its attributes using bytecode-specific information.
|
||||
|
||||
|
@ -600,4 +598,3 @@ void BytecodePrinter::bytecode_epilog(int bci, outputStream* st) {
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // PRODUCT
|
||||
|
|
|
@ -34,8 +34,7 @@
|
|||
// By specialising the BytecodeClosure, all kinds of bytecode traces can
|
||||
// be done.
|
||||
|
||||
#ifndef PRODUCT
|
||||
// class BytecodeTracer is only used by TraceBytecodes option
|
||||
// class BytecodeTracer is used by TraceBytecodes option and PrintMethodData
|
||||
|
||||
class BytecodeClosure;
|
||||
class BytecodeTracer: AllStatic {
|
||||
|
@ -60,6 +59,4 @@ class BytecodeClosure {
|
|||
virtual void trace(methodHandle method, address bcp, outputStream* st) = 0;
|
||||
};
|
||||
|
||||
#endif // !PRODUCT
|
||||
|
||||
#endif // SHARE_VM_INTERPRETER_BYTECODETRACER_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue