Core Java
-
How JVMTI tagging can affect GC pauses
This post is analyzing why and how Plumbr Agents extended the length of GC pauses on certain occasions. Troubleshooting the underlying problem…
Read More » -
Do not unit test bugs
Before getting to the topic of the title let’s have a simple programming sample. On the programming task I will…
Read More » -
Inconsistent operation widen rules in Java
Overview When you perform a unary or binary operation in Java the standard behaviour is to use the widest operand…
Read More » -
JMH: How to setup and run a JMH benchmark
Health Warning! This post describes how to setup and run a simple JMH benchmark. Micro benchmarks are notoriously difficult to get…
Read More » -
Top 5 Use-Cases For Nested Types
There has been an interesting discussion on reddit, the other day Static Inner Classes. When is it too much? First,…
Read More » -
Functional Factory Pattern
Do you want a REALLY quick way to make a Factory object? Then lambdas or other function-passing is what you…
Read More » -
Java8 Multi-threading ForkJoinPool: Dealing with exceptions
One of the main motivations behind the introduction of Java8 lambdas was the ability to be able to use multicores…
Read More » -
JDBC Tutorial – The ULTIMATE Guide (PDF Download)
In this post, we feature a comprehensive JDBC Tutorial (Java Database Connectivity), an API provided by Oracle that allows programmers…
Read More » -
Programmatically Determining Java Class’s JDK Compilation Version
When it is necessary to determine which JDK version was used to compile a particular Java .class file, an approach…
Read More »