Hello,<br><br>Is it possible to make the use of Bits.reserveMemory , unreserveMemory configurable ?.<br><br>Usage cases that do not have need for this extra check could benefit from improved concurrency,<br>where the gc and allocating threads don't have the risk of fighting around this static synchronized lock.<br>
<br>A volatile boolean check before entering the lock could do this.<br><br>Even low contention usage would benefit from using a cheap read of volatile boolean compared to a synchronized around multiple memory writes that must be flushed.<br clear="all">
<br><br>-- <br>regards<br> gustav trede<br><br><br>