Core Java
-
jstat – Analysis
jstat is a simple utility tool, that is present in JDK to provide JVM performance-related statistics like garbage collection, compilation…
Read More » -
Supporting Java 8
Although Java has version 13 released as for now, there are a lot of production installations running with Java 8.…
Read More » -
Six More JEPs Proposed for JDK 14
A recent Mark Reinhold message announces six new “JEPs proposed to target JDK 14”: JEP 345, JEP 361, JEP 363,…
Read More » -
Java 13: Enhancements to Switch Expressions
You may remember from my previous post that, in Java 12, the traditional switch statement was enhanced so that it…
Read More » -
Benchmark for new string methods of Java 11
While I was checking what’s new in Java 11, I saw that there are several new methods for String class.…
Read More » -
Locks In Java
A lock is a thread synchronization mechanism like synchronized blocks. Locks are implemented internally using synchronized blocks. Therefore, we can…
Read More » -
Become a Master of Java Streams – Part 4: Database Streams
SQL has always been a declarative language whereas Java for a long time has been imperative. Java streams have changed…
Read More » -
Better NPE Messages in JDK 14
My March 2019 blog post “Better Default NullPointerException Messages Coming to Java?” was written when the draft JEP for better…
Read More » -
Java 13: Text Blocks
Java 13 has delivered the long-awaited multiline strings or Text Blocks. You no longer need to concatenate strings that span…
Read More »