-
Core Java
MineCraft and off heap memory
Overview MineCraft is a really good example of when off heap memory can really help. The key requirements are: The…
Read More » -
Core Java
Making Unsafe safer
Overview If you use Unsafe directly, you risk crashing the JVM. This happens when you access a page of memory…
Read More » -
Software Development
SharedHashMap vs Redis
Overview This is a comparison between OpenHFT’s SharedHashMap and a popular key-value store Redis. Any vendor will tell you how…
Read More » -
Core Java
Chronicle and low latency in Java
Overview I was watching this excellent presentation by Rolan Kuhn of Typesafe on Introducing Reactive Streams At first glance it appears that…
Read More » -
Core Java
Common Java Myths
These are questions which are likely to be too advanced to ask in any interview as they may just put…
Read More » - Core Java
-
Core Java
Common gotchas in Java
Overview Java is a minimalist language with deliberately less features than other languages, never the less it has edge cases…
Read More » -
Core Java
Hardware Transactional Memory in Java, or why synchronized will be cool again
Overview Hardware Transaction Memory has the potential to allow multiple threads to speculatively access the same data structure at the…
Read More » -
Core Java
sun.misc.Unsafe and off heap memory
The class sun.misc.Unsafe allows you to many of the things you shouldn’t be able to do in Java, but are…
Read More »