Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8072406

_mutex_array not initialized properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 9
    • hotspot
    • None
    • b45
    • 9
    • generic
    • generic

      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.

            Unassigned Unassigned
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: