mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8264480: Unreachable code in nmethod.cpp inside #ifdef DEBUG
Reviewed-by: chagedorn, kvn
This commit is contained in:
parent
e0151a6fb1
commit
50f3da8d59
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ void nmethod::inc_decompile_count() {
|
||||||
|
|
||||||
bool nmethod::try_transition(int new_state_int) {
|
bool nmethod::try_transition(int new_state_int) {
|
||||||
signed char new_state = new_state_int;
|
signed char new_state = new_state_int;
|
||||||
#ifdef DEBUG
|
#ifdef ASSERT
|
||||||
if (new_state != unloaded) {
|
if (new_state != unloaded) {
|
||||||
assert_lock_strong(CompiledMethod_lock);
|
assert_lock_strong(CompiledMethod_lock);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue