Skip to content
Permalink
Browse files
8264480: Unreachable code in nmethod.cpp inside #ifdef DEBUG
Reviewed-by: chagedorn, kvn
  • Loading branch information
robehn committed Apr 16, 2021
1 parent e0151a6 commit 50f3da8d59b4379f6e99f48d53694086e29bd83c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1170,7 +1170,7 @@ void nmethod::inc_decompile_count() {

bool nmethod::try_transition(int new_state_int) {
signed char new_state = new_state_int;
#ifdef DEBUG
#ifdef ASSERT
if (new_state != unloaded) {
assert_lock_strong(CompiledMethod_lock);
}

1 comment on commit 50f3da8

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 50f3da8 Apr 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.