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

Make sure dev mode uses correct TCCL #9069

Merged
merged 1 commit into from Jul 6, 2020

Conversation

stuartwdouglas
Copy link
Member

No description provided.

@cescoffier
Copy link
Member

I'm not sure it would work for blocking routes.
Also, shouldn't we restore the TCCL once the response has been written?

@stuartwdouglas
Copy link
Member Author

yea, I need something for the blocking pool as well.

We don't want to restore it because the original TCCL is wrong, vert.x survives dev mode restart, but the TCCL of the thread stays as the original. The threads should have this TCCL as the correct one, the original one basically represents a ClassLoader leak.

@boring-cyborg boring-cyborg bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label May 6, 2020
@stuartwdouglas
Copy link
Member Author

I have updated this approach to instead do a best effort TCCL clean on restart.

@cescoffier
Copy link
Member

It does not seem to work well (see CI log).

We may have to wait for the completion of all the tasks you enqueue in the pools (both worker and event loops).

@stuartwdouglas stuartwdouglas force-pushed the dev-mode-tccl branch 2 times, most recently from 44011dd to 65129d7 Compare May 26, 2020 03:58
Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging after discussion with Stuart.

@gsmet gsmet merged commit becad6b into quarkusio:master Jul 6, 2020
@gsmet gsmet modified the milestones: 1.7.0 - master, 1.6.1.Final Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/vertx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants