Home » Tag Archives: JVM

Tag Archives: JVM

JVM with no garbage collection

JVM community keeps on adding new GC and recently new one was added and it is called  Epsilon and is very special one. Epsilon only allocates memory but will not reclaim any memory. It might look like what is use of GC that does not perform any garbage collection. This type of Garbage Collector has special use and we will look ...

Read More »

Top 9 Free Java Process Monitoring Tools & How to Choose One

So your Java code runs. Perhaps it even runs on a production server. After you pat yourself on the shoulder on a job well done, we’ve got good news and annoying news. The annoying news is that now, the debugging starts. Debugging and application performance monitoring that is. This means looking beyond the code written and into the internal workings ...

Read More »

Thread Local Allocation Buffers

Recently, I’ve been working on a Java application that suffered some serious performance issues. Among many problems, the one which really got my attention was a relatively slow allocation rate of new objects (the application was allocating a massive amount of rather large objects). As it later turned out, the reason was that a significant amount of allocations was happening ...

Read More »

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 »