Announcement

Collapse
No announcement yet.

GraalVM Updated For Java/JDK 21, Great Performance Results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bug77
    replied
    Originally posted by caligula View Post

    It's just bad application design. On a modern system the Java runtime (JIT, not AOT) takes around 200-500 ms to launch. It can be faster if you use jlink. Often Java applications have really complex startup and initialization sequences. They could also lazily load more stuff. A GUI app doesn't need to initialize all the windows before showing them.
    It's called business logic. You know, the whole reason applications exist in the first place. The thing is JIT is the complete antithesis of quick startup. To the point Java even came up with CDS, to lower some of the burden placed on JIT. But nobody uses CDS, so it doesn't really matter. What makes a tangible difference for performance in Java is something introduced in Java 6 (!): annotation processors. Think Quarkus or Micronaut and how they move a ton of things to the compile phase, so startup and even memory usage are vastly improved. AoT compile would be golden for Java at this points, but it needs to work reliably and be dead-simple to use. AoT compile adds its own issues, though.

    Leave a comment:


  • caligula
    replied
    Originally posted by Linuxhippy View Post
    I guess this AOT support as well as a better looking swing default theme (does anyone still remember pre java-1.5 metal) would have saved java on the desktop back then.
    Imagine you would have to wait 30s for an application to start
    It's just bad application design. On a modern system the Java runtime (JIT, not AOT) takes around 200-500 ms to launch. It can be faster if you use jlink. Often Java applications have really complex startup and initialization sequences. They could also lazily load more stuff. A GUI app doesn't need to initialize all the windows before showing them.

    Leave a comment:


  • Linuxhippy
    replied
    I guess this AOT support as well as a better looking swing default theme (does anyone still remember pre java-1.5 metal) would have saved java on the desktop back then.
    Imagine you would have to wait 30s for an application to start, and when it finally pops up it looks like this:
    grafik.png

    The sad thing is technically everything was always there (Excelsior JET for AOT, pluggable swing themes that looked really cool), but without the push from Sun those things didn't gain tracktion.

    Leave a comment:


  • bug77
    replied
    And once again they pride themselves about AoT compile, despite:
    The Native Image technology is distributed as a separate installable to GraalVM
    Native Image for GraalVM Enterprise Edition is available as an Early Adopter feature
    GraalVM is an advanced JDK with ahead-of-time Native Image compilation.

    Leave a comment:


  • phoronix
    started a topic GraalVM Updated For Java/JDK 21, Great Performance Results

    GraalVM Updated For Java/JDK 21, Great Performance Results

    Phoronix: GraalVM Updated For Java/JDK 21, Great Performance Results

    In addition to Oracle releasing OpenJDK 21 / Java 21 on Tuesday, their GraalVM team also carried out a same-day release of GraalVM with the new Java 21 features and more...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X