1 Random Observation & 1 Repo Question #1567
Replies: 3 comments 2 replies
-
Yes, to avoid version conflicts, and I also minimize it to reduce the size. Some day I'd like to get rid of it entirely but there's a few really convenient data structures with no alternative in the stdlib that I don't want to implement myself. |
Beta Was this translation helpful? Give feedback.
-
I don't know what the graal JSON means... surprised to see a lot of those classes mentioned. Is it flagging calls to getClass() used in equals() impls? |
Beta Was this translation helpful? Give feedback.
-
I also don't have "hard" numbers to share (I've got a TODO to capture some better data) at the moment, but according to my smoke test log, bootstrapping my (milo-based) OpcUa services went from the hundreds of milliseconds to the tens of milliseconds with the native-image-compiled milo; kind of surprised I didn't knock my S7-1500 over with that request throughput. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
(tl;dr no major milo problems with compiling to native-image!).
I did an experimental run and smoke test of compiling my (milo-dependent) app with graalVM's
native-image
compiler. Before compiling I instrumented graalVM to capture reflection usage and it flagged several milo classes inreflect-config
.graalVM is "smart" enough to capture the reflection usage and make it work, but I thought you might find this information potentially useful as I know you try to minimize reflection in milo @kevinherron .
Repo question:
(Mostly just curious here) Guava is a fairly heavy library, what's the reasoning behind shipping a separate copy of it in
org/eclipse/milo/shaded
? Avoid version conflicts in uber jars downstream of milo by pinning the guava classes used in milo to a specific release? Would "un-shading" it (to a guava version like 33.4.8) with jar-jar break anything you're aware of?Beta Was this translation helpful? Give feedback.
All reactions