Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new for Java in the clouds?

What's new for Java in the clouds?

Sebastian Daschner

December 05, 2018
Tweet

More Decks by Sebastian Daschner

Other Decks in Technology

Transcript

  1. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS About me Sebastian

    Daschner Lead Java Developer Advocate @ IBM Java Champion Consultant, trainer, book author JCP Expert Group member & Jakarta EE Committer Oracle Developer Champion (Alumni) JavaOne Rockstar speaker
  2. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Java: Where are

    we? • #1 Tiobe Index • Widely used in enterprise software • 20+ years of experience • Often first choice in universities • Powers the smallest to largest runtimes
  3. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Thinking positively about

    Java? Still learning about features in Java 8? Looking at Java 10 or going to Java 11? Trying to understand the new feature release process? Worried about being able to use Java for free? Exploring “Java Platform Module System”? Trying out Jshell? Figuring out jlink?
  4. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Updated Java release

    process 6 ... 7 ... 8 … <fast forward> 9,10,11,…17958?
  5. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Our ecosystem is

    repositioning for a faster pace • Predictable • Consistent cadence • Easier migration • Increased innovation
  6. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Java distribution &

    support • Oracle JDK • Oracle OpenJDK • AdoptOpenJDK • Eclipse OpenJ9 • Azul Zulu • SapMachine • ...
  7. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Free & $free

    Java • Oracle OpenJDK builds (GPLv2+CE) (six-month cadence) • Eclipse OpenJ9 • OpenJDK builds by AdoptOpenJDK, Azul, IBM, Red Hat, ...
  8. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS More, and more,

    and Moore... https://commons.wikimedia.org/wiki/File:Moores_law_(1970-2011).PNG
  9. JVMs can now scale from the very smallest to the

    very largest devices tiny humongous
  10. From the smallest... On the smart card Next to the

    processor (separate IC) In the processor
  11. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS And then we

    finally achieved Compute on Tap, Everything-as-a-Service
  12. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Very long running,

    efficient, monolithic applications Willing to trade startup time for throughput
  13. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Short lived, container

    based, micro service oriented, instant-on, always available, cross server, polyglot services Now we also need
  14. Time Real data OpenJDK 9 with Hotspot OpenJDK 9 with

    OpenJ9 OpenJDK 9 with OpenJ9 + AOT
  15. IBM donated J9 to Eclipse because we believe it’s the

    best way to move Java forward • It offers a new place to start • As the future emerges we can see that Java needs to handle new technologies, new hardware • We can’t do it on our own. We have to do it together
  16. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS JVMs will need

    to offer good machine learning & data analysis capabilities
  17. “Using a GPU without understanding how they work is like

    driving your car in reverse all the time”
  18. IBM + NVIDIA Improving Java application performance with GPU exploitation

    is available in IBM SDK for Java 8 and OpenJDK 9 with Eclipse Open9 Standard SE API optimisation as well as CUDA4J API for explicit low level control +
  19. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS From now on

    – you and your application will have to change as well GPUs require you to think differently So will AI and Machine Learning.
  20. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS BTW – what

    does a server GPU look like? NVIDIA’s largest graphics card is the DGX-2 It’s 2 petaflops, 512 gigabyte, 10 kilowatts It weighs 160 kg That’s as much as a fully grown panda.
  21. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Numbers of GPU’s

    in data centers are growing Java team is working on improved native code interop http://openjdk.java.net/projects/panama/ Making Java more attractive for new workloads
  22. Runtime Language Type Safe Bytecode: JIT Compiled Garbage Collected Concurrent

    Threaded All Platforms The JVM’s design characteristics allow us to imagine taking it to new places No other runtime environment comes close
  23. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS The JVM design

    means that we can easily imagine running JVM languages on new forms of processors. The JVM can take the application model and transform it to the something suitable for the hardware
  24. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Java Vendor competition

    and collaboration delivered • The fastest runtime environments • The most scalable runtime environments • The best garbage collectors • The greatest dynamically re-optimizing compilers • And we’re still doing it.
  25. © 2015 INTERNATIONAL BUSINESS MACHINES CORPORATION @DaschnerS Generating new JVM

    technologies • Container awareness • Fast native code interop • Re-optimised JITs • Re-tuned GC’s • AOT • Value Objects • Jit As A Service • <your idea here>