Devoxx UK 2019
from Wednesday 8 May to Friday 10 May 2019.
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 http://www.javaspecialists.eu
See also www.javaspecialists.eu
Is it better to write "" + 42 or Integer.toString(42)? How much memory can you save if you intern() all 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 the 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? You’ll get answers to these and many more questions in this session.
Brush up your threading! Join us for a Deep Dive into Mastering Threads, an introductory session on concurrency. This session will help you hone your skills as a Java programmers, and help you in every day work.
We'll start with the basics of threads and why to use them, before delving into Threading Models. We'll compare parallel and concurrent computing, and cover inter-thread communication, thread states, synchronized and more.
Next we'll examine the secrets of concurrency and the ten laws that will help you write thread-safe code.
As part of the Deep Dive we'll go over exercises that have challenged many Java programmers: we'll learn how to keep our classes thread-safe and also learn about thread states.
Using OpenJDK 11 in this session we will take full advantage of the new var syntax. However, programmers with Java 6 or 7 knowledge will also be able to follow.