Reduce interaction with volatile field in j.u.l.StreamHandler

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      In publish0(), flush0() and flushAndClose() methods of StreamHandler we read multiple times from volatile writer. The access number can be reduced by reading the field into local variable once.

            Assignee:
            Sergey Tsypanov
            Reporter:
            Sergey Tsypanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: