Announcement

Collapse
No announcement yet.

Oracle Releases GraalVM 22.0 With New Features

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

  • Oracle Releases GraalVM 22.0 With New Features

    Phoronix: Oracle Releases GraalVM 22.0 With New Features

    GraalVM 22.0 has been released for this Java VM/JDK that also supports other programming languages and run-times / execution modes. GraalVM continues to be performant and showing promising results not just for Java with JIT'ing but also ahead-of-time Java compilation to Native Image as well as for its Python implementation, WebAssembly run-time, and other targets...

    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

  • #2
    Unfortunately, after deprecating jaotc, GrallVM is now also facing deprecation. There's another project targeting AOTC for Java on the table now, can't remember its name.

    Comment


    • #3
      Originally posted by bug77 View Post
      Unfortunately, after deprecating jaotc, GrallVM is now also facing deprecation. There's another project targeting AOTC for Java on the table now, can't remember its name.
      What? This is complete BS.
      They deprecated jaotc within the (standard) OpenJDK.

      The GraalVM is its own JDK distribution, which of course is not deprecated.
      You simply have to switch over from OpenJDK to GraalVM for up to date AOT compilation and for the GraalVM.

      Comment


      • #4
        Originally posted by Degra View Post

        What? This is complete BS.
        They deprecated jaotc within the (standard) OpenJDK.

        The GraalVM is its own JDK distribution, which of course is not deprecated.
        You simply have to switch over from OpenJDK to GraalVM for up to date AOT compilation and for the GraalVM.

        1) Download the latest release of GraalVM and unpack it anywhere in your filesystem: Note: GraalVM C...

        Comment


        • #5
          GraalVM continues to be performant and showing promising results not just for Java with JIT'ing but also ahead-of-time Java compilation to Native Image..
          Does it include a compiler to compile to native code?
          or does the Compiler only works for Shared Libraries?

          Comment


          • #6
            Originally posted by onlyLinuxLuvUBack View Post
            Doesn't mention anything about deprecation https://medium.com/graalvm/graalvm-2...e-c7acc82a8c2e

            Didn't they just drop the AOT support in OpenJDK?

            Comment


            • #7
              Originally posted by tuxd3v View Post
              Does it include a compiler to compile to native code?
              or does the Compiler only works for Shared Libraries?
              The native image part compiles to native code. But it's not inside GraalVM, it's been made into an optional module years ago.

              Comment


              • #8
                Originally posted by Degra View Post

                What? This is complete BS.
                They deprecated jaotc within the (standard) OpenJDK.

                The GraalVM is its own JDK distribution, which of course is not deprecated.
                You simply have to switch over from OpenJDK to GraalVM for up to date AOT compilation and for the GraalVM.
                Ok, poor choice of words. It's not GraalVM that is going away, it's the native image part. It's contingent on how Project Leyden pans out, but given the past of this feature (and that you can't really solve the reflection problem) coupled with the slow progress of native image, I wouldn't be surprised if it gets dropped.

                Comment


                • #9
                  There are also Native Image updates to reduce the image size.
                  Hmm...

                  Code:
                  du -sh helloworld*
                  2.9M helloworld.20
                  4.0M helloworld.20.3
                  4.0M helloworld.21
                  4.2M helloworld.21.1
                  4.1M helloworld.21.2
                  9.9M helloworld.22
                  Maybe it is observable with more complex applications than the primitive helloworld, but the first impression is the opposite...

                  Comment


                  • #10
                    Originally posted by barti_ddu View Post

                    Maybe it is observable with more complex applications than the primitive helloworld, but the first impression is the opposite...
                    I would highly recommend using a real world application instead of hello world. Noone is realistically distributing hello world as a native image, so optimizing for that would be pointless. It would be much more interesting to test it with a more complex application.

                    Comment

                    Working...
                    X