Core Java
-
Using Apache Commons Functor functional interfaces with Java 8 lambdas
Apache Commons Functor (hereon [functor]) is an Apache Commons component that provides a functional programming API and several patterns implemented…
Read More » -
Ensuring the order of execution for tasks
Sometimes it is necessary to impose certain order on the tasks in a threadpool. Issue 206 of the JavaSpecialists newsletter…
Read More » -
Can synchronization be optimised away?
Overview There is a common misconception that because the JIT is smart and synchronization can be eliminated for an object…
Read More » -
Under the JVM hood – Classloaders
Classloaders are a low level and often ignored aspect of the Java language among many developers. At ZeroTurnaround , our…
Read More » -
Java Object resurrection
Overview After an object which overrides finalize() is collected it is added to a finalization queue to be cleaned up…
Read More » -
Java – far sight look at JDK 8
The world is changing slowly but surely. After the changes that gave java a fresher look with JDK 7, the…
Read More » -
Performance of inlined virtual method invocations in Java
Overview One of the benefits of dynamic compilation it the ability to support extensive method inlining on virtual method code.…
Read More » -
The Java ByteBuffer – a crash course
In my experience, java.nio.ByteBuffer is a source of confusion and subtle bugs when developers first encounter it, because it is…
Read More » -
Should I use a 32- or a 64-bit JVM?
This is a question I have faced several times during my career in enterprise software development. Every once in awhile…
Read More »