Rethinking Java String Concatenation

Veröffentlicht am: 18 August 2024
auf dem Kanal: Java
13,183
235

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


Auf dieser Seite können Sie das Online-Video Rethinking Java String Concatenation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Java 18 August 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13,183 Mal angesehen und es wurde von 235 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!