Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-301

CountingRejectedExecutionHandler uses AtomicLong needlessly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 1784

    Description

      The execution handler has a shared counter, which is managed by an AtomicLong. Since we can have multiple instances of it, it is better to use an AtomicLongFieldUpdater, bringing memory overhead down.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: