-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Closes #1280 - Closing inspectIT class loader when the agent is shutting down #1281
Closes #1280 - Closing inspectIT class loader when the agent is shutting down #1281
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1281 +/- ##
============================================
- Coverage 83.00% 80.70% -2.31%
- Complexity 1736 2026 +290
============================================
Files 174 204 +30
Lines 5366 6466 +1100
Branches 650 769 +119
============================================
+ Hits 4454 5218 +764
- Misses 675 957 +282
- Partials 237 291 +54
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 7 files at r1.
Reviewable status: 6 of 7 files reviewed, 2 unresolved discussions (waiting on @heiko-holz and @mariusoe)
inspectit-ocelot-agent/src/main/java/rocks/inspectit/ocelot/agent/AgentMain.java, line 61 at r1 (raw file):
try { if (loadOpenCensusToBootstrap) { Path ocJarFile = copyResourceToTempJarFile(OPENCENSUS_FAT_JAR_PATH, "opencensus-fat-");
wouldn't it be more suitable to have private static final String OPENCENSUS_FAT_JAR_TEMP_PREFIX
variables (also for bootstrap and core?)
inspectit-ocelot-agent/src/main/java/rocks/inspectit/ocelot/agent/AgentMain.java, line 102 at r1 (raw file):
if (includeOpenCensus) { Path ocJarFile = copyResourceToTempJarFile(OPENCENSUS_FAT_JAR_PATH, "ocelot-oc-fat-");
why does this prefix differ to the one used above for OPENCENSUS_FAT_JAR_PATH?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @heiko-holz)
inspectit-ocelot-agent/src/main/java/rocks/inspectit/ocelot/agent/AgentMain.java, line 61 at r1 (raw file):
Previously, heiko-holz (Heiko Holz) wrote…
wouldn't it be more suitable to have
private static final String OPENCENSUS_FAT_JAR_TEMP_PREFIX
variables (also for bootstrap and core?)
Done.
inspectit-ocelot-agent/src/main/java/rocks/inspectit/ocelot/agent/AgentMain.java, line 102 at r1 (raw file):
Previously, heiko-holz (Heiko Holz) wrote…
why does this prefix differ to the one used above for OPENCENSUS_FAT_JAR_PATH?
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 6 of 7 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @heiko-holz)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @mariusoe)
closes #1280
This change is