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

Cleanup redundant synchronization in Http2ClientImpl

XMLWordPrintable

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

      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'

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

              Created:
              Updated:
              Resolved: