Most developers know that finalizers should not be depended on, but sometimes they are necessary. PhantomReferences, often cited as a good alternative, also suffer from the same fundamental problems. In this article we reveal how to contend with the many issues surrounding finalization in Java.
One of the most important parts of the JVM is the Just-In-Time (JIT) compiler. However, many applications are not written to take full advantage of the high-performance capabilities of the JIT. In this article we investigate some simple tricks to identify issues that may be making your application unfriendly to JIT.
The OpenJDK Off-Heap JEP will be a radical departure from traditional Java priorities, seeking to standardize a facility for efficiently manipulating off-heap memory. This article surveys the impact this JEP will have to empower Java HashMap with new off-heap capabilities. Simply put, this JEP may be just the magic that can “teach” HashMap (that lovable old dog) some new tricks.
The new book Real World OCaml provides a deep dive into the OCaml programming language. InfoQ caught up with the authors to hear about real world Ocaml users, its unique features, and much more.