Consolidate MutexLockerEx and MutexLocker

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: 13
    • Component/s: hotspot
    • b19

      MutexLockerEx is almost identical to MutexLocker, except that it allows NULL and to pass a safepoint checking parameter. These two branches seem like an uninteresting distinction for minimal or likely no performance benefit. The operation takes a lock which will dwarf any predicted branches.

      Also, there's a corresponding MutexUnlocker/MutexLockerEx which seemes even less necessary for performance.

            Assignee:
            Coleen Phillimore
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: