Java (Modern JDK)

Java (Modern JDK)

Deep technical articles on this topic.

136Articles
136Topics covered
Articles in this category

All 136 articles, sorted alphabetically

Advertisement
ARTICLE · 01

Java Amber Project

Language ergonomics. Records, patterns, etc.

Read article
ARTICLE · 02

Java Annotations

How Java annotations provide metadata for frameworks, tooling, and compile-time processing.

Read article
ARTICLE · 03

AssertJ

Chained + readable.

Read article
ARTICLE · 04

async-profiler

Low-overhead sampling.

Read article
ARTICLE · 05

Java Atomic Classes

AtomicInteger, AtomicReference etc.

Read article
ARTICLE · 06

Bazel

Reproducible + scalable.

Read article
ARTICLE · 07

Java BlockingQueue

Producer-consumer.

Read article
ARTICLE · 08

Java Class Data Sharing (CDS)

AppCDS speeds startup.

Read article
ARTICLE · 09

JVM class loading architecture

Deep-dive on JVM class loading: bootstrap/platform/application loaders and parent delegation, the load-verify-prepare-resolve-initialize pipeline, (na…

Read article
ARTICLE · 10

Java Collections Framework

The Java Collections Framework: List, Set, Map interfaces and their common implementations (ArrayList, HashMap, TreeSet).

Read article
ARTICLE · 11

Java Collectors

Terminal reduce operations.

Read article
ARTICLE · 12

Java CompletableFuture

Async composition.

Read article
ARTICLE · 13

Java Concurrency

Java's concurrency toolkit: threads, synchronized, locks, atomics, executors, and the java.util.concurrent package.

Read article
ARTICLE · 14

Java ConcurrentHashMap

Lock-free reads. Scoped writes.

Read article
ARTICLE · 15

Java Containerization

Sizing + JVM in containers.

Read article
ARTICLE · 16

Java CountDownLatch

Wait for N events.

Read article
ARTICLE · 17

Java Deprecation + Removals

Nashorn, applets, SecurityManager.

Read article
ARTICLE · 18

Dropwizard

Opinionated JSON API framework.

Read article
ARTICLE · 19

Java Enhanced For Loop

for (var e : coll). Iterable.

Read article
ARTICLE · 20

Java Epsilon GC

No-op collector.

Read article
ARTICLE · 21

Java ExecutorService

Thread pool. Submit + shutdown.

Read article
ARTICLE · 22

Java Foreign Function + Memory API (Panama)

Native interop. Java 22+.

Read article
ARTICLE · 23

Java FFM API

How Java's Foreign Function and Memory (FFM) API provides safe native interop.

Read article
ARTICLE · 24

Java FFM architecture

Deep-dive on the Foreign Function & Memory API: confined vs shared vs automatic arenas, MemorySegment bounds and liveness chec…

Read article
ARTICLE · 25

Java ForkJoinPool

Work-stealing pool.

Read article
ARTICLE · 26

Java Function + Predicate + Consumer + Supplier

Standard FIs.

Read article
ARTICLE · 27

Java Functional Interfaces

@FunctionalInterface. Single abstract method.

Read article
ARTICLE · 28

Java G1 Garbage Collector

Modern default. Region-based.

Read article
ARTICLE · 29

Java GC Algorithms

The main JVM GC algorithms, their pause characteristics, and when to use each.

Read article
ARTICLE · 30

JVM GC architecture

Deep-dive on JVM garbage collectors: regions + TLABs + write barriers, per-collector strategies, tuning and observability.

Read article
ARTICLE · 31

Java GC Logs

-Xlog:gc option.

Read article
ARTICLE · 32

Java Generics

How Java generics work: type parameters, bounded types, wildcards, and the reality of type erasure.

Read article
ARTICLE · 33

Java Generics Improvements

Diamond operator + wildcard.

Read article
ARTICLE · 34

GraalVM Architecture in Depth

A 2500-word walkthrough of GraalVM: compiler, Native Image AOT, instant startup, low memory, reflection config, Truffle polyglot, framework support.

Read article
ARTICLE · 35

Java GraalVM Native Image

Ahead-of-time compilation.

Read article
ARTICLE · 36

Gradle

Groovy/Kotlin DSL build.

Read article
ARTICLE · 37

Java Heap Tuning

Xmx + Xms + GC choice.

Read article
ARTICLE · 38

Helidon

Oracle's cloud-native Java.

Read article
ARTICLE · 39

Hibernate + JPA

ORM. Historic dominance.

Read article
ARTICLE · 40

HotSpot vs GraalVM

Runtime comparison.

Read article
ARTICLE · 41

Java HttpClient

How Java 11's HttpClient replaces older HttpURLConnection.

Read article
ARTICLE · 42

Java instanceof Pattern Matching

Bind + check in one expression.

Read article
ARTICLE · 43

Jakarta EE (was Java EE)

Enterprise Java spec.

Read article
ARTICLE · 44

Java Flight Recorder (JFR)

Low-overhead profiling.

Read article
ARTICLE · 45

Java Flight Recorder -- always-on, low-overhead profiling

Deep-dive on Java Flight Recorder (JFR): continuous event recording, JFR events (GC/allocation/locks/IO), very low overhead (<1…

Read article
ARTICLE · 46

JVM JIT architecture

Deep-dive on JVM JIT: interpreter, C1, C2, Graal, tiered compilation, inline caches, escape analysis, deoptimization, code cache, diagnostics.

Read article
ARTICLE · 47

Java JIT Compiler (C1/C2)

Tiered compilation.

Read article
ARTICLE · 48

JITWatch

See JIT decisions.

Read article
ARTICLE · 49

Java jlink

Create minimal runtime.

Read article
ARTICLE · 50

jOOQ

SQL as Java DSL.

Read article
ARTICLE · 51

Java jpackage

MSI, DMG, DEB, RPM installers.

Read article
ARTICLE · 52

JUnit 5 (Jupiter)

Modern Java testing standard.

Read article
ARTICLE · 53

JVM Garbage Collection Architecture in Depth

A 2500-word walkthrough of JVM GC: application threads, generational heap, G1, ZGC, Shenandoah, write barriers, TLABs, and observability.

Read article
ARTICLE · 54

JVM Memory Model

How JVM memory is organized: heap generations, stack per thread, metaspace for class metadata, and off-heap for direct buffers.

Read article
ARTICLE · 55

Java JVMTI + Instrumentation API

Attach agents for profiling/monitoring.

Read article
ARTICLE · 56

Java Lambda Expressions

How Java lambdas work, functional interfaces, method references, and how they enable functional-style APIs.

Read article
ARTICLE · 57

Java Lambdas

Anonymous functions. Java 8+.

Read article
ARTICLE · 58

Project Leyden architecture

Deep-dive on Project Leyden: AOT compilation, startup improvement, condensers, class data cache, compatibility, vs Native Image.

Read article
ARTICLE · 59

Java LTS Releases

8, 11, 17, 21, 25.

Read article
ARTICLE · 60

MapStruct

Code-gen mapping between DTOs.

Read article
ARTICLE · 61

Apache Maven

Standard Java build.

Read article
ARTICLE · 62

Java Memory Model -- happens-before, visibility, and data races

Deep-dive on the Java Memory Model: the visibility/ordering problem from caches and reordering, happens-before, volatile/synchronized/final/atomics es…

Read article
ARTICLE · 63

Java MethodHandles + VarHandle

Modern reflection alternative.

Read article
ARTICLE · 64

Java Method References

::syntax for lambdas.

Read article
ARTICLE · 65

Micrometer

Metrics facade for Java.

Read article
ARTICLE · 66

Micronaut

Compile-time DI. Fast + minimal.

Read article
ARTICLE · 67

Mockito

Modern default mocking.

Read article
ARTICLE · 68

Java Module System (JPMS)

Java 9+. Modularity via module-info.java.

Read article
ARTICLE · 69

Java Modules

How the Java Platform Module System (JPMS) provides strong encapsulation for large codebases.

Read article
ARTICLE · 70

MyBatis

XML + annotation SQL mapping.

Read article
ARTICLE · 71

GraalVM native image architecture

Deep-dive on GraalVM native image: AOT compilation, closed-world analysis, reflection config, metadata repo, build modes, trade-offs.

Read article
ARTICLE · 72

Java NIO and Netty

Deep-dive on Java NIO and Netty: selector-driven non-blocking IO, event loops and handler pipelines, codecs for framing, pooled off-heap ByteBuffers, …

Read article
ARTICLE · 73

OpenJDK Vendors

Oracle, Corretto, Temurin, Zulu.

Read article
ARTICLE · 74

OpenTelemetry Java

Traces + metrics + logs.

Read article
ARTICLE · 75

Java Optional

Null-safe wrapper.

Read article
ARTICLE · 76

Java Overview

What Java is, why the JVM matters, and where Java fits in modern computing after 25+ years.

Read article
ARTICLE · 77

Java OWASP Dependency Check

Vuln scanning.

Read article
ARTICLE · 78

Java Parallel GC

Throughput-focused.

Read article
ARTICLE · 79

Java Parallel Streams

ForkJoinPool.commonPool.

Read article
ARTICLE · 80

Java Pattern Matching

How Java's pattern matching (instanceof, switch) destructures and binds in one expression.

Read article
ARTICLE · 81

Java pattern matching architecture

Deep-dive on Java pattern matching: sealed interfaces, records, switch expressions, type + record patterns, guards, exhaustiveness.

Read article
ARTICLE · 82

Java Phaser

Reusable multi-phase barrier.

Read article
ARTICLE · 83

Play Framework (Java)

Reactive full-stack. Also Scala.

Read article
ARTICLE · 84

Project Amber

What Project Amber delivers: records, sealed, pattern matching, and more.

Read article
ARTICLE · 85

Project Babylon

How Project Babylon extends Java reflection for AI + accelerator use.

Read article
ARTICLE · 86

Project Leyden

How Project Leyden aims to reduce Java startup time via ahead-of-time compilation.

Read article
ARTICLE · 87

Project Lilliput

How Project Lilliput reduces Java object header size for memory savings.

Read article
ARTICLE · 88

Project Loom

How Project Loom brought virtual threads and structured concurrency to Java.

Read article
ARTICLE · 89

Project Panama

How Panama provides safer, faster JNI replacement for calling native code from Java.

Read article
ARTICLE · 90

Project Valhalla

How Project Valhalla aims to bring value types and specialized generics to Java.

Read article
ARTICLE · 91

Java Project Valhalla Architecture in Depth

A 2500-word walkthrough of Java Project Valhalla: value classes, layout, nullability, generic specialization, migration, escape analysis, performance.

Read article
ARTICLE · 92

Project Valhalla Status

The current status of Project Valhalla: value types delivery.

Read article
ARTICLE · 93

Java Prometheus Monitoring

Micrometer + Actuator.

Read article
ARTICLE · 94

Quarkus

Cloud-native Java. GraalVM-friendly.

Read article
ARTICLE · 95

Java Records

How records provide concise immutable data classes in modern Java.

Read article
ARTICLE · 96

Java records architecture

Deep-dive on Java records: declaration, auto members, immutability, compact ctor, pattern matching, sealed, serialization, interop.

Read article
ARTICLE · 97

Java ReentrantLock

Lock class with more features than synchronized.

Read article
ARTICLE · 98

Java Reflection

How Java reflection inspects classes and invokes methods dynamically at runtime.

Read article
ARTICLE · 99

Java Scoped Values

How ScopedValue provides context sharing better than ThreadLocal for virtual threads.

Read article
ARTICLE · 100

Java Sealed Classes

How sealed classes restrict subclasses to a known set, enabling exhaustive pattern matching.

Read article
ARTICLE · 101

Java Sealed Classes

Restrict inheritance. Foundation of ADTs.

Read article
ARTICLE · 102

Java Semaphore

Count-based access limiter.

Read article
ARTICLE · 103

Java Serial GC

Single-threaded. Small apps.

Read article
ARTICLE · 104

Java Shenandoah GC

Alternative low-pause.

Read article
ARTICLE · 105

Spring Boot

Opinionated Spring. Auto-config.

Read article
ARTICLE · 106

Spring Data

Repository abstraction.

Read article
ARTICLE · 107

Spring Framework

DI + AOP + Web. Dominant Java.

Read article
ARTICLE · 108

Spring Security

Auth + authz framework.

Read article
ARTICLE · 109

java_stream_gatherers

Read article
ARTICLE · 110

Java Stream

Core operations.

Read article
ARTICLE · 111

Java Streams API

Functional collection processing.

Read article
ARTICLE · 112

Java Streams API

How the Streams API enables functional-style data processing in Java: filter, map, collect, reduce, and parallel streams.

Read article
ARTICLE · 113

Java string dedup architecture

Deep-dive on Java string deduplication: G1 dedup background scan, compact strings, intern(), dedup table, cost, metrics.

Read article
ARTICLE · 114

Java String Templates

Preview. STR."...\{var}..."

Read article
ARTICLE · 115

Java Structured Concurrency

How structured concurrency provides bounded, hierarchical concurrent execution.

Read article
ARTICLE · 116

Java StructuredTaskScope

Preview. Correlated task groups.

Read article
ARTICLE · 117

Java Switch Expressions

Arrow syntax + returns value.

Read article
ARTICLE · 118

Java synchronized Keyword

Intrinsic locks. Simple + limited.

Read article
ARTICLE · 119

Testcontainers

Real Postgres/Kafka/etc in tests.

Read article
ARTICLE · 120

Java Text Blocks

Triple-quote multiline strings.

Read article
ARTICLE · 121

Java ThreadLocal

Per-thread storage.

Read article
ARTICLE · 122

java.util.function Package

Rich set of functional interfaces.

Read article
ARTICLE · 123

Project Valhalla architecture

Deep-dive on Project Valhalla: value classes, primitive classes, flat layout, generic specialization, nullability, migration.

Read article
ARTICLE · 124

Java Valhalla Project

Value types. Future feature.

Read article
ARTICLE · 125

Java var

Local variable inference. Java 10+.

Read article
ARTICLE · 126

Java Vector API

SIMD via API. Preview.

Read article
ARTICLE · 127

Java Vector API architecture

Deep-dive on the Java Vector API from Project Panama: vector values and species, SPECIES_PREFERRED shape selection, masks and loop tails, C2 intrinsif…

Read article
ARTICLE · 128

Vert.x

Reactive polyglot toolkit.

Read article
ARTICLE · 129

Java Virtual Threads

How virtual threads (Project Loom) enable massive concurrency without OS thread costs.

Read article
ARTICLE · 130

Java Virtual Threads Architecture in Depth

A 2500-word walkthrough of Java Virtual Threads: application code, carriers, continuations, scheduler, blocking I/O, pinning, ReentrantLock, structure…

Read article
ARTICLE · 131

Java Virtual Threads Deep

Loom preview then final.

Read article
ARTICLE · 132

VisualVM

Open-source JVM monitoring.

Read article
ARTICLE · 133

Java volatile Keyword

Memory visibility. No atomicity.

Read article
ARTICLE · 134

WireMock

Simulate external APIs.

Read article
ARTICLE · 135

YourKit + JProfiler

Commercial JVM profilers.

Read article
ARTICLE · 136

Java ZGC

Sub-10ms pauses. Very large heaps.

Read article