Rethinking Java String Concatenation

Publicado el: 18 agosto 2024
en el canal de: 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


En esta página del sitio puede ver el video en línea Rethinking Java String Concatenation de Duración hora minuto segunda en buena calidad , que subió el usuario Java 18 agosto 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 13,183 veces y le gustó 235 a los espectadores. Disfruta viendo!