JDK-8072406 : _mutex_array not initialized properly
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-02-03
  • Updated: 2015-02-03
  • Resolved: 2015-02-03
Related Reports
Duplicate :  
Relates :  
Description
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. 
Comments
Closed as a dup of the bug that Coleen filed yesterday.
03-02-2015