Java (Modern JDK)

Java (Modern JDK)

Deep technical articles on this topic.

146Articles
146Topics covered
Articles in this category

All 49 articles, sorted alphabetically

Advertisement
ARTICLE · 01

async-profiler

Low-overhead sampling.

Read article
ARTICLE · 02

Java Atomic Classes

AtomicInteger, AtomicReference etc.

Read article
ARTICLE · 03

Java BlockingQueue

Producer-consumer.

Read article
ARTICLE · 04

Java Class Data Sharing (CDS)

AppCDS speeds startup.

Read article
ARTICLE · 05

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 · 06

Java Collections Framework

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

Read article
ARTICLE · 07

Java CompletableFuture

Async composition.

Read article
ARTICLE · 08

Java Concurrency

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

Read article
ARTICLE · 09

Java ConcurrentHashMap

Lock-free reads. Scoped writes.

Read article
ARTICLE · 10

Java CountDownLatch

Wait for N events.

Read article
ARTICLE · 11

Java CRaC architecture

Deep-dive on CRaC (Coordinated Restore at Checkpoint): snapshot a fully JIT-warmed JVM to a CRIU-based process image and restore new instances from it…

Read article
ARTICLE · 12

Dropwizard

Opinionated JSON API framework.

Read article
ARTICLE · 13

JVM escape analysis architecture

Deep-dive on HotSpot escape analysis: the NoEscape/ArgEscape/GlobalEscape states, scalar replacement that dissolves objects into registers, lock elisi…

Read article
ARTICLE · 14

Java ExecutorService

Thread pool. Submit + shutdown.

Read article
ARTICLE · 15

Java FFM architecture

The Foreign Function & Memory API (JEP 454): confined vs shared vs automatic arenas, MemorySegment bounds and liveness checks, downcall/upcall stubs, jextract, and the end of JNI…

Read article
ARTICLE · 16

Java ForkJoinPool

Work-stealing pool.

Read article
ARTICLE · 17

Java G1 Garbage Collector

Modern default. Region-based.

Read article
ARTICLE · 18

JVM GC architecture

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

Read article
ARTICLE · 19

Java Generics

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

Read article
ARTICLE · 20

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 · 21

Helidon

Oracle's cloud-native Java.

Read article
ARTICLE · 22

Java Flight Recorder (JFR)

Low-overhead profiling.

Read article
ARTICLE · 23

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 · 24

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 · 25

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 · 26

Java Lambda Expressions

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

Read article
ARTICLE · 27

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 · 28

JVM Metaspace architecture

Deep-dive on JVM Metaspace: what replaced PermGen, class vs non-class space, compressed klass pointers, the chunk and arena allocator, MetaspaceSize v…

Read article
ARTICLE · 29

Java Method References

::syntax for lambdas.

Read article
ARTICLE · 30

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 · 31

Java Optional

Null-safe wrapper.

Read article
ARTICLE · 32

Java Overview

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

Read article
ARTICLE · 33

Java Pattern Matching

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

Read article
ARTICLE · 34

Java Phaser

Reusable multi-phase barrier.

Read article
ARTICLE · 35

Project Valhalla

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

Read article
ARTICLE · 36

Java Records

How records provide concise immutable data classes in modern Java.

Read article
ARTICLE · 37

Java ReentrantLock

Lock class with more features than synchronized.

Read article
ARTICLE · 38

JVM safepoints architecture

Deep-dive on JVM safepoints: how the runtime raises a global poll flag and brings every application thread to a compiler-inserted poll site (method bo…

Read article
ARTICLE · 39

Java Scoped Values

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

Read article
ARTICLE · 40

Java Semaphore

Count-based access limiter.

Read article
ARTICLE · 41

Java Shenandoah GC

Alternative low-pause.

Read article
ARTICLE · 42

Java Streams API

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

Read article
ARTICLE · 43

Java Structured Concurrency

How structured concurrency provides bounded, hierarchical concurrent execution.

Read article
ARTICLE · 44

Java synchronized Keyword

Intrinsic locks. Simple + limited.

Read article
ARTICLE · 45

Java ThreadLocal

Per-thread storage.

Read article
ARTICLE · 46

Java Vector API

SIMD via API. Preview.

Read article
ARTICLE · 47

Java Virtual Threads

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

Read article
ARTICLE · 48

Java volatile Keyword

Memory visibility. No atomicity.

Read article
ARTICLE · 49

Java ZGC

Sub-10ms pauses. Very large heaps.

Read article