gustav.trede at gmail.com
Fri Aug 21 22:06:21 PDT 2009
Is it possible to make the use of Bits.reserveMemory , unreserveMemory
Usage cases that do not have need for this extra check could benefit from
where the gc and allocating threads don't have the risk of fighting around
this static synchronized lock.
A volatile boolean check before entering the lock could do this.
Even low contention usage would benefit from using a cheap read of volatile
boolean compared to a synchronized around multiple memory writes that must
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev