Why Java’s TLABs are so important in multicore environments

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

Java’s Unspeakable Types

It obviously cannot be any type that we ordinarily encounter. A variable of type String cannot hold a value of type Object — the Liskov substitution properties simply do not work that way round. The… (more…)

Read more »

Where’s Java Going in 2020

Programming book reviews, programming tutorials,programming news, C#, Ruby, Python,C, C++, PHP, Visual Basic, Computer book reviews, computer history, programming history, joomla, theory, spreadsheets and more. (more…)

Read more »

Measuring Time: From Java to Kernel and Back

Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: throug... (more…)

Read more »

Java Rest API best practices and guideliness

Development of Restful API with Java can become straightforward when following best practices, leveraging compiler checks and code consistency. Here is an example of an application which follows Java API developmnet best practices with Spring Boot and Doc... (more…)

Read more »