_mutex_array not initialized properly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: