mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8352920: Compilation failure: comparison of unsigned expression >= 0 is always true
Reviewed-by: dholmes
This commit is contained in:
parent
d5b12c82fe
commit
f4428e89b7
@ -178,6 +178,7 @@ class BytecodePrinter {
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef PRODUCT
|
||||
// We need a global instance to keep track of the states when the bytecodes
|
||||
// are executed. Access by multiple threads are controlled by ttyLocker.
|
||||
static BytecodePrinter _interpreter_printer;
|
||||
@ -193,6 +194,7 @@ void BytecodeTracer::trace_interpreter(const methodHandle& method, address bcp,
|
||||
_interpreter_printer.trace(method, bcp, tos, tos2, st);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void BytecodeTracer::print_method_codes(const methodHandle& method, int from, int to, outputStream* st, int flags) {
|
||||
BytecodePrinter method_printer(flags);
|
||||
|
||||
@ -38,7 +38,7 @@ class outputStream;
|
||||
class BytecodeClosure;
|
||||
class BytecodeTracer: AllStatic {
|
||||
public:
|
||||
static void trace_interpreter(const methodHandle& method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st = tty);
|
||||
NOT_PRODUCT(static void trace_interpreter(const methodHandle& method, address bcp, uintptr_t tos, uintptr_t tos2, outputStream* st = tty);)
|
||||
static void print_method_codes(const methodHandle& method, int from, int to, outputStream* st, int flags);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user