JDK-6237968 : Add AbstractQueuedLongSynchronizer, providing support for 64 bits of synchronization state
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-03-09
  • Updated: 2017-05-16
  • Resolved: 2005-08-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b49Fixed
Related Reports
Relates :  
Description
Doug Lea writes:

But it strikes me that given how people are learning to use AQS for
cool things, we probably ought to add the "Long" version of AQS
(AbstractQueuedLongSynchronizer would sadly have to be its ugly name)
for Mustang, since the next chance won't be for several years.  As I
wrote about this before, the down side is that people on pre-Q5 macs
will get crummy performance from anything built from it. But that's
not a very compelling reason if we don't in turn use it to support
other j.u.c stuff (like for CyclicBarrier, as I had previously
planned.)  Implementation is trivial: Copy from AQS, replace some ints
with longs, and make a few other tiny adjustments.

3. Is now the time to add AbstractQueuedLongSynchronizer?  We didn't
   include this in Tiger because anything using it would not be any
   faster/better than using locks on chips without 64bit atomics (the
   only still-common one is pre-G5 powerpc).  But it should eventually
   go in. Why not now?  It could be used to speed up CyclicBarrier.
   (Well, it would actually slow it down on most macs.  But by the
   time Apple ports Mustang, there probably won't be many pre-G5s
   around 

###@###.### 2005-03-09 03:23:30 GMT

Comments
EVALUATION Will be provided as part of JSR166 maintenance. ###@###.### 2005-03-09 03:20:15 GMT
09-03-2005