-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
有没有发现 用FSQueue2个线程,一读一写 会报异常
Exception in thread "Thread-1" java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:501)
at java.nio.DirectByteBuffer.putInt(DirectByteBuffer.java:647)
at com.google.code.fqueue.log.LogIndex.putWriterPosition(LogIndex.java:113)
at com.google.code.fqueue.log.LogEntity.putWriterPosition(LogEntity.java:176)
at com.google.code.fqueue.log.LogEntity.write(LogEntity.java:214)
at com.google.code.fqueue.FSQueue.add(FSQueue.java:150)
at com.google.code.fqueue.FSQueue.add(FSQueue.java:139)
Original issue reported on code.google.com by qujunxi1...@gmail.com on 12 Apr 2012 at 3:16