Home » Tag Archives: JVM

Tag Archives: JVM

Ultra-Low Latency Querying with Java Streams and In-JVM-Memory

Fundamental rules of nature, such as the speed of light and general information theory, set significant limits on the maximum performance we can obtain from traditional system architectures. Learn how you, as a Java developer, can improve performance by orders of magnitude using in-JVM-technology and Java Streams. If, for example, the application server and the database server are located 100 ...

Read More »

Query Databases Using Java Streams

In this article, you will learn how you can write pure Java applications, that are able to work with data from an existing database, without writing a single line of SQL (or similar languages like HQL) and without spending hours putting everything together. After your application is ready, you will learn how to accelerate latency performance with a factor of ...

Read More »

Memory-Hogging Enum.values() Method

I’m a big fan of Java’s enum. It seemed like we waited forever to get it, but when we did finally get it (J2SE 5), the enum was so much better than that provided by C and C++ that it seemed to me “well worth the wait.” As good as the Java enum is, it’s not without issues. In particular, ...

Read More »

Reduce GC Overhead With These 5 Simple Hacks

Five simple ways to write code that’s more memory efficient, without spending more time on it or reducing code readability How much overhead does garbage collection add to your application? You might not know the exact number off the top of your head, but you do know that there’s always room for improvement. Although automated GC is a mostly efficient ...

Read More »

JVM Architecture 101: Get to Know Your Virtual Machine

A beginner’s crash course in Java Virtual Machine (JVM) architecture and Java bytecode 101 Java applications are all around us, they’re on our phones, on our tablets, and on our computers. In many programming languages this means compiling the code multiple times in order for it to run on different OSes. For us as developers, maybe the coolest thing about ...

Read More »

JVM Architecture: Execution Engine in JVM

Hello readers! In the previous article of JVM series, developers learned about the Virtual machine’s ClassLoader and Runtime Data Areas components. This tutorial will help developers to correctly understand the Execution Engine in JVM. 1. Introduction Before moving further let’s take a look at the Java Virtual Machine and its basic characteristics. 1.1 What is Java Virtual Machine (JVM)? Java ...

Read More »

JVM Architecture: JVM Class loader and Runtime Data Areas

Hello readers! In the previous article of JVM series, developers learned about the Java Virtual Machine (JVM) and it’s architecture. This tutorial will help developers to correctly answer the questions on below topics: ClassLoader Subsystem Runtime Data Areas 1. Introduction Before moving further let’s take a look at the Java Virtual Machine and its basic characteristics. 1.1 What is Java ...

Read More »

JVM Architecture: Overview of JVM and JVM Architecture

Hello readers! In this tutorial, we will understand and learn the Java Virtual Machine (JVM) and its architecture. This tutorial will help you to correctly answer the below questions: What is JVM in Java? Different components of JVM Difference between JVM, JRE, and JDK 1. Introduction Java Virtual Machine (JVM) is an abstract virtual machine that resides on your computer ...

Read More »