Some of the topics he covers are:
- StampedLock and its optimistic API;
- How LongAdder works;
- When to use ThreadLocalRandom;
- Fork/Join and CompletableFuture;
- Why does ConcurrentHashMap build a tree on each bucket in JDK 8 (hint: it's related to a bug Andreia and I found and fixed in ConcurrentHashMap);
- Parallel streams;
- The JVM memory model and volatiles (sequentially consistent atomics), and "out-of-thin-air results";
- Value types in Java;
I liked the part about Scala being the Canary of Java, such that whenever something gets implemented in Scala and it doesn't blow up, it means we can probably use it in Java. lol
Not really a deep dive, so it should suit a general audience.
To help follow the presentation, here are are the accompanying slides (from near the end of the presentation):
http://jtres2014.compute.dtu.dk/slides/lea.pdf
No comments:
Post a Comment