Use AtomicLong for XactFactory.tranId
-------------------------------------

                 Key: DERBY-4478
                 URL: https://issues.apache.org/jira/browse/DERBY-4478
             Project: Derby
          Issue Type: Improvement
          Components: Store
    Affects Versions: 10.6.0.0
            Reporter: Knut Anders Hatlen
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to