A quick but comprehensive explanation of why there’s no SortedList in Java.
Search Results for: heap
Metadata GC Threshold in Java
The Java Garbage Collector plays a part in managing the memory of the metaspace, where information about classes is stored. We look at tuning parameters to help the JVM manage our application.
What Is the Maximum Depth of the Java Call Stack?
Learn how to determine the maximum depth of the Java call stack.
New Features in Java 20
Explore some of the new features and changes introduced as part of the incremental Java 20 release.
Java Weekly, Issue 495
Lots and lots of new releases this week. And some Java Records goodness 🙂
@JsonMerge Annotation in Jackson
Discover how to use the @JsonMerge annotation from the Jackson Java library.
Run JMeter .jmx File From the Command Line and Configure the Report File
Learn how to run JMeter JMX files from the command line and configure the report file.
Working with Virtual Threads in Spring 6
Learn how to use virtual threads in a Spring 6-based application.
Create and Detect Memory Leaks in Java
Learn about memory allocation and garbage collection in Java to prevent memory leaks and build more efficient, robust applications.
Possible Root Causes for High CPU Usage in Java
A quick and practical guide to potential causes of high CPU usage.
Find the N Most Frequent Elements in a Java Array
A quick and practical guide to finding n most frequent elements in a Java array.
JetBrains @Contract Annotation
Learn how to use the JetBrains @Contract annotation.
Guide to Java Project Panama
Project Panama aims to ease the interaction between Java and foreign (non-Java) APIs, i.e., native code written in C, C++, etc.
Memory Types in JVM
Learn about the different memory types in the Java Virtual Machine (JVM) and understand the reasons for some common memory-related errors.
The JVM Run-Time Data Areas
Explore different types of runtime data areas and their purpose.
Java Weekly, Issue 470
Pattern matching, GraalVM into OpenJDK, transactional MDC, event sourcing, and Postgres as a Message Queue!
Stream Large Byte[] to File With WebClient
This is a short tutorial about how to stream a large file to a file using a DataBuffer and what’s the role of ExchangeStrategies in WebClient.
Java Weekly, Issue 467
Panama improvements, fast Java startup in AWS lambda, Spring Boot error handling, TSID vs UUID, and dependency inversion!
Guide to Java PriorityQueue
A quick and practical guide to Java’s PriorityQueue.
Java Weekly, Issue 466
Spring Boot 3, from 1RPS to 26RPS, caching effect, K8S secrets, and unusual stack traces!