News for hackers. Stuff that matters.
Re:RedHat Mandrel Makes Java Native by embrassingstuff on Thursday July 02, 2020 @04:53AM (#23711274)
Buy isn't most of the dynamic load limited to the locally-available jars ?

Which means that the AOT generator has a finite set of classes to.comsider ?

And similarly, all the Spring/Boot dynamic features are a finite combination ?

(I have work on huge JVM systems with huge classpath directories but ultimately these run time polymorphism are finite?)

Re:RedHat Mandrel Makes Java Native by darksaints on Thursday July 02, 2020 @09:59AM (#23713145)
I haven't done much of this at all, but I believe dynamic class loading in graal's native-image AOT works when the string parameter in Class.forName(param) is a static string or a constant. This actually capturez a huge amount of apps, because their only dynamic class loading is for JDBC, and most apps know beforehand which driver they want to use.
Re:RedHat Mandrel Makes Java Native by thu2111 on Thursday July 02, 2020 @07:23AM (#23712026)
OpenJDK supports various kinds of AOT too, which also supports dynamic class loading. However the performance boost at startup is not as significant as with native-image/SubstrateVM/GraalVM because it stays spec compliant.