Skip to content

Commit 50f3da8

Browse files
committed
8264480: Unreachable code in nmethod.cpp inside #ifdef DEBUG
Reviewed-by: chagedorn, kvn
1 parent e0151a6 commit 50f3da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/code/nmethod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ void nmethod::inc_decompile_count() {
11701170

11711171
bool nmethod::try_transition(int new_state_int) {
11721172
signed char new_state = new_state_int;
1173-
#ifdef DEBUG
1173+
#ifdef ASSERT
11741174
if (new_state != unloaded) {
11751175
assert_lock_strong(CompiledMethod_lock);
11761176
}

0 commit comments

Comments
 (0)