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

[FISH-1018] found more leaks and more reliable leak test #5102

Merged
merged 3 commits into from
Jan 27, 2021

Conversation

lprimak
Copy link
Contributor

@lprimak lprimak commented Jan 27, 2021

Description

Continuation of #5081

Testing

New tests

Better ClassLoader leak test

@lprimak
Copy link
Contributor Author

lprimak commented Jan 27, 2021

jenkins test

@lprimak lprimak self-assigned this Jan 27, 2021
@lprimak lprimak marked this pull request as draft January 27, 2021 16:54
@lprimak
Copy link
Contributor Author

lprimak commented Jan 27, 2021

pending leak tests with all suites

@lprimak lprimak marked this pull request as ready for review January 27, 2021 17:51
@lprimak lprimak merged commit 63d9d4f into payara:master Jan 27, 2021
@lprimak lprimak deleted the FISH-1018-more-leaks branch January 27, 2021 17:51
lprimak added a commit that referenced this pull request Feb 5, 2021
* [FISH-1018] Out of memory redeploy leaks (#5081)

* #4098 Reduced too broad scope of variable

* #4098 Moved field to local variable

- this could be the first cause of leak

* #4098 Refactored inner and anonymous classes to nested static classes

- anonymous and inner holds implicit reference to parent
- this was probably the second cause of leak

* #4098 Fixed code consistency

* Fix more class loader leaks by:
- making sure Server Threads and Timers do not inherit app's context class loaders
- making sure app's security contexts don't get propagated to server threads and timers

Added correct ear classes to class loader leak tests

Co-authored-by: lprimak <lenny@flowlogix.com>

* [FISH-1018] found more leaks and more reliable leak test (#5102)

* found more leaks and more reliable leak test

* bump jakarta.el to -p3 patch

* tyrus patched update

Co-authored-by: Lukáš Kvídera <kvideral@qwsome.eu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants