Closed ClaudioWaldvogel closed 1 year ago
Merging #1501 (c3f2388) into master (4ae7a26) will decrease coverage by
1.26%
. The diff coverage is53.91%
.
inspectit-ocelot-agent/src/main/java/rocks/inspectit/ocelot/agent/AgentMain.java
line 49 at r2 (raw file):
At this point Spring is not yet intialized
good point :)
inspectit-ocelot-agent/src/main/java/rocks/inspectit/ocelot/agent/AgentMain.java
line 96 at r2 (raw file):
The message says that async is disabled in pre Java 9 environments and this will have significant performance degradations
Ahhh, okay so pre Java 9 we should rather do synchronous instrumentation (what you just have implemented). Got it, thanks!
inspectit-ocelot-core/src/main/java/rocks/inspectit/ocelot/core/instrumentation/TypeDescriptionWithClassLoader.java
line 58 at r2 (raw file):
I think we resolved this in a discussion. I had the idea that we implement the same `class.staticMethod` structure for the `TypeDescriptionWithClassloader`, so that the access to the `of` method is differently for loaded and for unloaded types. e.g., by implementing nested classes with names such as `ForLoadedType` and `ForUnloadedType` and then have these two classes implement the `of` method
nice idea, not implemented.
This change is