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

Use varargs in 'def' macros in mutexLocker.cpp

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: