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

Do not let Weld register a shutdown hook #6470

Merged
merged 1 commit into from Apr 3, 2023

Conversation

snazy
Copy link
Member

@snazy snazy commented Apr 3, 2023

Shutdown hooks are a nice feature, but registered shutdown hooks can easily lead to out-of-memory errors, especially when used from "re-generated" class loaders or, in situations like the one in our compatibility tests.

Shutdown hooks are a nice feature, but registered shutdown hooks can easily lead to out-of-memory errors, especially when used from "re-generated" class loaders or, in situations like the one in our compatibility tests.
@snazy snazy added the pr-native run native test label Apr 3, 2023
@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.79 ⚠️

Comparison is base (f6ad365) 83.96% compared to head (7db6b5a) 83.18%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6470      +/-   ##
============================================
- Coverage     83.96%   83.18%   -0.79%     
- Complexity        0      537     +537     
============================================
  Files            31      911     +880     
  Lines          1497    36031   +34534     
  Branches        240     3210    +2970     
============================================
+ Hits           1257    29972   +28715     
- Misses          172     4930    +4758     
- Partials         68     1129    +1061     
Flag Coverage Δ
java 83.15% <100.00%> (?)
javascript 82.91% <ø> (?)
python 83.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...essie/tools/compatibility/jersey/JerseyServer.java 75.90% <100.00%> (ø)
.../projectnessie/jaxrs/ext/NessieJaxRsExtension.java 68.22% <100.00%> (ø)

... and 878 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@snazy snazy merged commit 1a89de3 into projectnessie:main Apr 3, 2023
25 checks passed
@snazy snazy deleted the no-shutdown-hooks branch April 3, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-native run native test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants