Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4478

Use AtomicLong for XactFactory.tranId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.6.1.0
    • 10.11.1.1
    • Store
    • None
    • Performance

    Description

      Dyre Tjeldvoll posted some results on DERBY-3092 that indicated that some types of load might cause contention on XactFactory.tranId (a shared long), and suggested that it was replaced with a java.util.concurrent.atomic.AtomicLong on the platforms that support java.util.concurrent.*.

      I'm splitting this issue out from DERBY-3092 so that the two possible improvements reported there can be addressed independently.

      Attachments

        1. d4478-1a.diff
          2 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            People

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: