null
577578579580581582583584585586587
Worker worker; do { synchronized( followers ) { worker = ( Worker ) followers.pop(); } if( worker == null ) { // Increase the number of threads if we
225226227228229230231232233234235
Stack stack = bufferStacks[ idx ]; java.nio.ByteBuffer buf; synchronized( stack ) { buf = ( java.nio.ByteBuffer ) stack.pop(); } if( buf == null ) { buf = direct ? java.nio.ByteBuffer.allocateDirect( MINIMUM_CAPACITY << idx ) :
116117118119120121122123124125126
Stack stack = bufferStacks[ idx ]; ByteBuffer buf; synchronized( stack ) { buf = ( ByteBuffer ) stack.pop(); if( buf == null ) { buf = createBuffer( bufferStackSizes[ idx ] ); } }
203204205206207208209210211212213
524525526527528529530531532533534
209210211212213214215216217218219
529530531532533534535536537538539
Worker worker; do { synchronized (followers) { worker = (Worker) followers.pop(); } if (worker == null) { // Increase the number of threads if we
107108109110111112113114115116117
private static ByteBuffer allocate(int idx) { Stack stack = bufferStacks[idx]; ByteBuffer buf; synchronized (stack) { buf = (ByteBuffer) stack.pop(); if (buf == null) { buf = createBuffer(bufferStackSizes[idx]); } }