Blog Archives

Java 8 – Lazy argument evaluation

Overview
“I will always choose a lazy person to do a difficult job. Because he will find an easy way to do it” – Bill Gates
Lazy evaluation is an evaluation strategy which delays the evaluation of an expression until… Read More

Tagged with: , , ,
Posted in Application Performance Monitoring, Development, Java, Tips & Tricks

Intrinsically fast: more JVM performance tinkering

I didn’t expect my last post on JVM perf to be so well received, so I thought I’d carry on digging into why your code does (or doesn’t) run fast! Let’s forget about concurrency for now and instead focus on… Read More

Tagged with: , , ,
Posted in Application Performance Monitoring, Development, Java

A point of @Contention- cache coherence on the JVM

Java 8’s major changes- lexical closures, the stream API, e.t.c have overshadowed a slew of little gems, one of which I only discovered the other day- the @Contended annotation.
False Sharing
Chances are you’re reading this on a device with… Read More

Tagged with: , , , , , , , , , , , , ,
Posted in Development, Java, Tips & Tricks

Java 8: A quick introduction to Parallelism and the Spliterator

Introduction

With the release of Java 8 a number of new language features were introduced [1]. These included lambda functions, streams and completable futures. Colleagues of mine have already reviewed these features in previous articles on this blog, which I… Read More

Tagged with: , , ,
Posted in Java

Exploring Lambdas and Streams in Java 8

Java 8 introduced a host of new features, including lambda functions and streams. In this article I will focus on these two features as they are the most impactful features that were added in this new version of Java.
Lambda… Read More

Tagged with: , ,
Posted in Java

Playing with Java 8’s CompletableFutures

Of the many additions to Java 8 such as the Stream API and lambdas, I noticed one of the lesser talked about ones was CompletableFutures. So I decided to have a play around with them on the last Java component… Read More

Tagged with: , , ,
Posted in Java

Subscribe to the Blog

Categories

Archives