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

InstanceKlass should use MutexLockerEx to acquire OsrList_lock

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 9
    • hotspot
    • b40

        The osr specific methods of InstanceKlass invoke 'lock_without_safepoint_check()' and 'unlock()' on OsrList_lock. This is hard to read and error prone because we have to explicitly unlock.

        A MutexLockerEx with the '_no_safepoint_check_flag' should be used instead.

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: