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:
Joseph Provino 2013-03-06 13:46:55 -05:00
parent a6be16446d
commit e1f180f82e
8 changed files with 9 additions and 25 deletions

View file

@ -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 = "";