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

Remove NoAllocVerifier because nothing uses it

    XMLWordPrintable

    Details

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

      Description

      There's already a NoSafepointVerifier check at the same place.

      The comments say that NoAllocVerifier only make sense at safepoints:

      -// Note: this only makes sense at safepoints (otherwise, other threads may
      -// allocate concurrently.)

      Given there aren't any uses of this to help understand this comment, this code should be removed.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: