Java Specialists' Java Training Europehome of the java specialists' newsletter
Advanced Core Java Courses and Java Performance Consulting

Newsletter - Latest Issues

[Issue 230] String Substring Java 7 quietly changed the structure of String. Instead of an offset and a count, the String now only contained a char[]. This had some harmful effects for those expecting substring() would always share the underlying char[]. [Issue 229] Cleaning ThreadLocals ThreadLocals should in most cases be avoided. They can solve some tough problems, but can introduce some nasty memory leaks, especially if the ThreadLocal class or value refer to our own classes, not a system class. In this newsletter we show some mechanisms that help under OpenJDK.
[Issue 228] Extracting Real Task from FutureTask ExecutorService allows us to submit either Callable or Runnable. Internally, this is converted to a FutureTask, without the possibility of extracting the original task. In this newsletter we look at how we can dig out the information using reflection. [Issue 227] How Can I Become a Champion Programmer? In this newsletter, Heinz talks about some characteristics that are useful if you want to become a successful champion Java programmer.
[Issue 226] Discovering Where Threads Are Being Constructed How can you discover all the places in your program where threads are being constructed? In this newsletter we create our own little SecurityManager to keep an eye on thread creation. [Issue 225] Hiding Interface Methods Whenever a class implements an interface, all the implemented methods have to be public. In this newsletter we look at a trick that we can use to make them private.
  Newsletter Index
Java Master
Extreme Java 8 Concurrency
Java Concurrency
Design Patterns
Mastering Lambdas
In-House Courses



© 2010-2015 Heinz Kabutz - All Rights Reserved Sitemap
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. JavaSpecialists.eu is not connected to Oracle, Inc. and is not sponsored by Oracle, Inc.