8047290 changed mutexLocker.cpp's def macro to have _mutex_array[_num_mutex] instead of _mutex_array[_num_mutex++], which means the array and _num_mutex aren't initialized properly.
This breaks print_owned_locks_on_error and would manifest as a lie when provoking a vmError when global VM locks are held.
This breaks print_owned_locks_on_error and would manifest as a lie when provoking a vmError when global VM locks are held.
- duplicates
-
JDK-8072128 mutexLocker.cpp _mutex_array[] initialization broken with safepoint check change
-
- Resolved
-
- relates to
-
JDK-8047290 Make Mutex::_no_safepoint_check_flag locks verify that this lock never checks for safepoint
-
- Resolved
-