Rethinking Java String Concatenation

Pubblicato il: 18 agosto 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Rethinking Java String Concatenation della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java 18 agosto 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 13,183 volte e gli è piaciuto 235 spettatori. Buona visione!