4 ms·
I'm under the impression that the Community Edition version of GraalVM is neutered by a limited garbage collector and some other limitations when producing nati
by dkjaudyeqooe 2y ago
I'm under the impression that the Community Edition version of GraalVM is neutered by a limited garbage collector and some other limitations when producing native binaries.
Anyone know if this true?
- quikoa 2y agoCould Oracle neuter it more in an update to push the commercial edition?
- sabas123 2y agoIIRC there base kit like garbage collector and runtime are all the same between community and enterprise. The biggest feature that comes to mind that is behind the enterprise-only wall (or at least used to be) is Profile Guided optimization.
- sgammon 2y agoThis is partly true. CE has the "serial GC," yes, and no access to G1 GC by default. But Oracle GraalVM (formerly "GraalVM Enterprise Edition," which no longer exists) was released under a much less restrictive license: https://blogs.oracle.com/java/post/graalvm-free-license https://blogs.oracle.com/java/post/graalvm-free-license So, yes, GraalVM CE is slightly nerfed (the performance difference across all EE features is like 30% maximum, at peak, in limited circumstances). You also do not need to use GraalVM CE in as many places anymore, and Oracle GraalVM with G1 is a free download. Many free projects like Pkl use the full-blown VM. https://www.graalvm.org/latest/reference-manual/native-image/optimizations-and-performance/MemoryManagement/ https://www.graalvm.org/latest/reference-manual/native-image... Serial GC is still very performant. It's great for things like command line tools which don't need a low-pause long-running GC like G1.
- dkjaudyeqooe 2y agoSo the runtime and libraies incorporated into native applications compiled by Oracle GraalVM is freely licensed? I tried to find that information but it's all a sea of legalese.
- sgammon 2y agoYes. Native Image is covered by this license IIRC