article thumbnail

Unlocking Performance: Exploring Java 21 Virtual Threads [Video]

DZone

In this Java 21 tutorial, we dive into virtual threads, a game-changing feature for developers. Virtual threads are a lightweight and efficient alternative to traditional platform threads, designed to simplify concurrent programming and enhance the performance of Java applications.

article thumbnail

Heap Memory In Java Applications Performance Testing

DZone

Does every performance engineer need to know about how memory in Java works? To completely fine-tune the java performance bottlenecks for high performance my answer is YES. It is the process of allocating new objects and removing unused objects (Garbage Collections) properly.

Java 305
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Unleash Peak Performance in Java Applications: Overview of Profile-Guided Optimization (PGO)

DZone

In the realm of Java development, optimizing the performance of applications remains an ongoing pursuit. Profile-Guided Optimization (PGO) stands as a potent technique capable of substantially enhancing the efficiency of your Java programs.

Java 177
article thumbnail

Java memory optimizations: 3x Jenkins performance improvement with Dynatrace

Dynatrace

In the rest of the blog I walk you through the steps that allows our teams to identify a “memory hungry” Jenkins plugin and how the removal of this no longer needed plugin resulted in an overall 3x improvement of Jenkins performance. But let’s start from the beginning: Step #1 – Switching to Java 11. Optimize your own Java Application.

Java 255
article thumbnail

Performance Tuning Java Applications in Linux

DZone

Learn how to make your Java applications performance perfectly. You may also like: How to Properly Plan JVM Performance Tuning. While Performance Tuning an application both Code and Hardware running the code should be accounted for. Ensure there is enough RAM to hold your java process. Avoid Swapping to Disk.

Java 147
article thumbnail

Java/Spring Boot/MongoDb - Performance Analysis and Improvements

DZone

The average quotes for several years of data had to be recalculated so performance became interesting. It gets started on startup by the TaskStarter class. It calculates the averages for newly available quotes. Everything was done on Linux x64 with a Terumium Jdk 17 and MongoDb 4.4.

Java 246
article thumbnail

Measuring Performance of Your Methods Using JMH in Java

DZone

Measure Java performance! From JDK-12 onwards, the JDK comes with JMH (Java Microbenchmark Harness), It is a toolkit that helps you implement Java microbenchmarks correctly. You may also like: JMH: Benchmark REST APIs.

Java 162