New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Size of queue may more then max size +1 #216
Comments
Can you be more specific? give a test case? |
import org.jctools.queues.SpscGrowableArrayQueue; /**
this code is
I debug carefully for reasons |
Thanks for the test case, and sorry for the long silence. |
Jctools is the best concurrency library and we admire you and appreciate your contributions in your busy schedule |
…acity Adjust producer limit in order to allow one more element to be added in place of the unneeded JUMP when the max capacity producer buffer has been allocated
Fixes #216: Size of SpscGrowableArrayQueue can exceeds max capacity
I found a bug earlier this year
Seems to be
spscArrayGrowableQueue
init give the max size
but can run code make the queue = max +1
i truly run test code find it ,it is existence
in Special cases
The text was updated successfully, but these errors were encountered: