Skip to content
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

Fixes memory leak in per-thread context #965

Merged

Conversation

avpinchuk
Copy link
Contributor

The PerThreadContextWrapper is never cleaned up because cleaning action hold reference to it and thus he never become phantom reachable and cleaning action will not be invoked automatically.

This closes #949, eclipse-ee4j/jersey#5486 and perhaps eclipse-ee4j/glassfish#24672

Signed-off-by: Alexander Pinčuk <alexander.v.pinchuk@gmail.com>
@avpinchuk avpinchuk added the bug Something isn't working label Jan 20, 2024
@avpinchuk avpinchuk self-assigned this Jan 20, 2024
@dmatej dmatej added this to the 3.0.5 milestone Jan 21, 2024
@dmatej dmatej merged commit ddea025 into eclipse-ee4j:master Jan 21, 2024
2 checks passed
@dmatej dmatej modified the milestones: 3.0.5, 3.0.6 Jan 23, 2024
@avpinchuk avpinchuk deleted the fix-memory-leak-in-per-thread-context branch May 5, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in PerContextThreadWrapper
2 participants