-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
[runtime] thread leak in DefaultBroadcasterFactory #766
Labels
Comments
Which version are you using? |
1.1 snapshot |
Thanks. Can you gist your test case? Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Might be related to #716 #717
I use atmosphere with shared thread pools and IDLE_DESTROY policy.
If I call a following function
DefaultBroadcasterFactory.getDefault().lookup(DefaultBroadcaster.class, id, true)
concurrently, at higher rate, it spawns thread pools containing a single thread, which, sometimes, remain waiting indefinitely. Thread count grows at a constant rate until the VM runs out of memory.
It might be caused by a race condition, because when I synchronize the broadcaster lookup like this, the issue is not present, and the thread count stabilizes around 1000
The text was updated successfully, but these errors were encountered: