CKX-3538 Enough java.lang.String to Hang Ourselves ... | Voxxed Days

Voxxed Days Milano 2019
on Saturday 13 April

   Enough java.lang.String to Hang Ourselves ...


Java Language
Java Language
Intermediate level
Auditorium Saturday from 17:40 til 18:30

Is it better to write "" + 42 or Integer.toString(42)? How much memory can you save if you intern() all of your strings? How can String Deduplication reduce your memory footprint and what does it cost? And how much memory will Java 9 Strings save in Bulgaria? What is the maximum length of a constant String? And a dynamic String? How much faster is new StringBuilder().append("Hello ").append(name).toString() than "Hello " + name? What are intrinsics and how do they relate to Strings? Are Strings really immutable? How can you efficiently create substrings? These and many more questions we will answer during this talk.

Java 12   string concatenation   Performance tuning   Garbage Collection  
Heinz Kabutz
Heinz Kabutz

Dr Heinz Kabutz writes the popular "The Java Specialists' Newsletter" read by tens of thousands of enthusiastic fans in over 145 countries. To sign up, visit

Dmitry Vyazelenko
Dmitry Vyazelenko
From Engenius GmbH

I’m a software developer, conference speaker and a disorganizer of JCrete ( and JAlba ( unconferences, passionate about concurrency and performance.

Make sure to download the Android or iOS mobile schedule.