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

Use varargs in 'def' macros in mutexLocker.cpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • b21

      (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.

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

              Created:
              Updated:
              Resolved: