Presented by Claes Redestad - Principal Member of Technical Staff (Java Platform Group - Oracle) during the JVM Language Summit (August 2024 - Santa Clara, CA).
String concatenation got a big overhaul in JDK 9 with JEP 280, bringing throughput improvements at the cost of startup, warmup and footprint overheads. This video goes through the current implementation, discusses some past efforts at getting things up to speed, and a few workarounds we’ve recently had to implement to avoid resource starvation issues when expressions get too complex. It then outlines a prototype which stays true to the spirit of JEP 280 while solving most of these edge issues. All the while improving significantly over the current baseline on startup, footprint and warmup metrics across the board.
Make sure to check the • JVM Language Summit 2024 playlist.
Resources
• Indify String Concatenation ➤ https://openjdk.org/jeps/280
• String Templates (Preview) ➤ https://openjdk.org/jeps/430
• Class-File API (2nd Preview) ➤ https://openjdk.org/jeps/466
• JDK23 String Concat Fix ➤ https://bugs.openjdk.org/browse/JDK-8...
• String Concatenation, Redux ➤ https://cl4es.github.io/2019/05/14/St...
• Project Leyden ➤ https://jdk.java.net/leyden/
• PR - Consolidate and streamline String concat code shapes ➤ https://github.com/openjdk/jdk/pull/1...
• PR - Efficient hidden class-based string concatenation strategy ➤ https://github.com/openjdk/jdk/pull/2...
• Inside Java ➤ https://inside.java/
• Dev.Java ➤ https://dev.java
• JVMLS ➤ https://openjdk.org/projects/mlvm/jvm...
Tags #Java #OpenJDK
Sur cette page du site, vous pouvez voir la vidéo en ligne Rethinking Java String Concatenation durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Java 18 août 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,183 fois et il a aimé 235 téléspectateurs. Bon visionnage!