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

Remove unnecessary calls to Thread::current() in MutexLocker calls

    XMLWordPrintable

Details

    • b07

    Description

      Many MutexLocker calls have THREAD present but don't pass the thread, instead they call Thread::current().

      We should fix as many as we can.

      Also the arguments to MutexLocker(lock, thread, safepoint_check) should be changed to MutexLocker(thread, lock, safepoint_check) to match other APIs that pass THREAD first.

      Attachments

        Issue Links

          Activity

            People

              hseigel Harold Seigel (Inactive)
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: