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

Metaspace improvements in QuarkusUnitTest - round 2 #35407

Merged
merged 8 commits into from
Aug 18, 2023

Conversation

yrodiere
Copy link
Member

@yrodiere yrodiere commented Aug 17, 2023

Follows up on #35385

Fixes a few more leaks, though we're not quite where I'd like yet.

I only tested Hibernate ORM deployment tests locally, let's see how it goes on CI.

@quarkus-bot

This comment has been minimized.

To avoid memory leaks caused by references to closed threads.
Because LateBoundMDCProvider lives in the AppClassLoader, so it must not
reference instances of classes in QuarkusClassLoader after shutdown.
Instead of when the proxied class' classloader gets closed, because the
proxied class can simply be in the AppClassLoader which never gets
closed.
To avoid ClassLoader leaks.
@gsmet gsmet force-pushed the metaspace-improvement-2 branch from 315e787 to bbaa305 Compare August 18, 2023 06:49
@gsmet
Copy link
Member

gsmet commented Aug 18, 2023

I rebased, fixed the formatting issue and force pushed.

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 18, 2023

Failing Jobs - Building bbaa305

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
✔️ JVM Tests - JDK 17
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs
✔️ JVM Tests - JDK 20

Full information is available in the Build summary check run.

Failures

⚙️ JVM Tests - JDK 17 Windows #

- Failing: integration-tests/mongodb-panache 

📦 integration-tests/mongodb-panache

io.quarkus.it.mongodb.panache.reactive.ReactiveMongodbPanacheResourceTest.testMoreRepositoryFunctionalities line 351 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <200> but was <500>.

@gsmet gsmet merged commit 84bae8b into quarkusio:main Aug 18, 2023
@quarkus-bot quarkus-bot bot added this to the 3.4 - main milestone Aug 18, 2023
@yrodiere yrodiere deleted the metaspace-improvement-2 branch January 29, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants