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

Use varargs in 'def' macros in mutexLocker.cpp

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      (Changed the description and title). Using varargs in the def macro would allow for passing the default parameter for allow_vm_block to the Mutex constructor. The default is true for no safepoint checking locks and false for safepoint checking locks. This change would point out which safepoint checking ranked locks pass 'true', which should be an exception but there are currently too many. Some likely pass true because of copy/paste when the locks were added.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: