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

A comment in the doReleaseShared() method in the AbstractQueuedSynchronizer class is not clear

    XMLWordPrintable

    Details

      Description

      ADDITIONAL SYSTEM INFORMATION :
      windows10
      java11

      A DESCRIPTION OF THE PROBLEM :
      The comment in the body of the doReleaseShared method of the AbstractQueuedSynchronizer class has a word: unparkSuccessor. I think it should be two words.
      The following is the original:
      Ensure that a release propagates, even if there are other in-progress acquires/releases. This proceeds in the usual way of trying to unparkSuccessor of head if it needs signal.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I think this is a grammar problem, it is in the source code.


      FREQUENCY : rarely


        Attachments

          Activity

            People

            • Assignee:
              psonal Pallavi Sonal
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: