null
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]); } }
117118119120121122123124125126127
Stack stack = bufferStacks[ idx ]; ByteBuffer buf; synchronized( stack ) { buf = ( ByteBuffer ) stack.pop(); if( buf == null ) { buf = createBuffer( bufferStackSizes[ idx ] ); } }
116117118119120121122123124125126
203204205206207208209210211212213
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 ) :
519520521522523524525526527528529
Worker worker; do { synchronized (followers) { worker = (Worker) followers.pop(); } if (worker == null) { // Increase the number of threads if we
225226227228229230231232233234235
565566567568569570571572573574575
Worker worker; do { synchronized( followers ) { worker = ( Worker ) followers.pop(); } if( worker == null ) { // Increase the number of threads if we