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

Cleanup redundant synchronization in Http2ClientImpl

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 20
    • None
    • core-libs
    • b05

    Description

      Http2ClientImpl.stopping and Http2ClientImpl.failures are always accessed under synchronized(this).
      So we can remove 'volatile' modifier from 'stopping'. And remove 'synchronizedSet' wrapper from 'failures'

      Attachments

        Issue Links

          Activity

            People

              aturbanov Andrey Turbanov
              aturbanov Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: