Why Java’s TLABs are so important

The JVM’s garbage collectors make use of Thread-Local Allocation Buffers (TLABs) to improve allocation performance. In this article we’re going to understand what TLABs are, how they affect the code generated by the JIT for allocation and what the resulti… Read more

Similar

Switching from Java to Go

Like many people, I came to Go with a background in Java. Getting started on Go isn’t too hard, but it does require a change in mindset when it comes to a few key areas. Declaring Interfaces Like in Java, Go interfaces are a powerful way to make code test... (more…)

Read more »

How to use a Java HashSet by example

What is a HashSet A HashSet is an unordered collection containing unique elements. It has the standard collection operations Add, Remove, Contains, but since it uses a hash-based implementation, these operations are O(1) Learn with a Programming Question ... (more…)

Read more »

Debugging SSL in Java using mitmproxy

In this post we’ll go over setting up the popular mitmproxy tool on an external host and configuring your Java programs to proxy traffic through it, allowing you to debug misbehaving HTTP clients and libraries. OverviewOccasionally, you’ll be faced wi...

Read more »