public void acquire(){
  int n=refCount.incrementAndGet();
}

public void acquire ( ) { int n = refCount . incrementAndGet ( ) ; }
increment the reference count . it should be incremented before adding to a queue .
