Rethinking Java String Concatenation

Опубликовано: 18 Август 2024
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Rethinking Java String Concatenation длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Java 18 Август 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 13,183 раз и оно понравилось 235 зрителям. Приятного просмотра!