mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8006498: #if <symbol> is wrong in the code
ASSERT and other symbols used incorrectly with #if are supposed to be defined or not. Reviewed-by: dholmes, mikael
This commit is contained in:
parent
a6be16446d
commit
e1f180f82e
8 changed files with 9 additions and 25 deletions
|
@ -890,7 +890,7 @@ void JvmtiSuspendControl::print() {
|
|||
|
||||
tty->print("Suspended Threads: [");
|
||||
for (JavaThread *thread = Threads::first(); thread != NULL; thread = thread->next()) {
|
||||
#if JVMTI_TRACE
|
||||
#ifdef JVMTI_TRACE
|
||||
const char *name = JvmtiTrace::safe_get_thread_name(thread);
|
||||
#else
|
||||
const char *name = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue