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

Skip ValidateHazardPtrsClosure in non-debug builds

XMLWordPrintable

    • b12

        The ValidateHazardPtrsClosure closure is effectively a no-op in a non-debug build, but ThreadsSMRSupport::free_list stills applies it in a linear-scan of all threads, unnecessarily. The assert was originally a guarantee and this optimisation was missed when it was changed over by JDK-8264624

              dholmes David Holmes
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: