Topic

JDK

Collection size
104 articles
Page 4 of 6
Java Captain
Java Captain
Oct 4, 2019 · Fundamentals

JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals

This article summarizes the major JDK 11‑13 updates, including switch expression simplifications, multi‑line text block literals, dynamic AppCDS archives, ZGC memory‑release enhancements, a modernized socket API, new FileSystems methods, bulk NIO ByteBuffer operations, the Reiwa era in java.time, Unicode 12.1 support, and several deprecated features that have been removed.

Core LibraryJDKJava
0 likes · 10 min read
JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals
Java Captain
Java Captain
Mar 12, 2019 · Fundamentals

Java Basics Interview Questions and Answers – Part 1

This article presents a curated set of 208 Java interview questions, focusing on the Java Basics module, and provides detailed explanations, code examples, and analyses of concepts such as JDK vs JRE, == vs equals, hashCode, final, abstract classes, and common String operations.

BasicsHashCodeInterview
0 likes · 14 min read
Java Basics Interview Questions and Answers – Part 1
Java Captain
Java Captain
Nov 19, 2018 · Fundamentals

Understanding JDK Dynamic Proxy: Implementation Principles and Code Walkthrough

This article explains how JDK dynamic proxy generates proxy classes at runtime for interfaces using java.lang.reflect.Proxy and InvocationHandler, demonstrates usage with code examples, explores the underlying ProxyGenerator and class‑caching mechanisms, and clarifies why only interface‑based proxies are supported.

Dynamic ProxyInvocationHandlerJDK
0 likes · 11 min read
Understanding JDK Dynamic Proxy: Implementation Principles and Code Walkthrough
Java Captain
Java Captain
Jul 8, 2018 · Fundamentals

Understanding Java: Its Ecosystem, Editions, JDK/JRE, OpenJDK, and the JVM

This article provides a comprehensive overview of Java, explaining its evolution from a simple programming language to a broad technology ecosystem that includes Java SE, EE, ME, the JDK and JRE, OpenJDK, the Java Community Process, and the role of the JVM in achieving write‑once‑run‑anywhere.

JDKJREJVM
0 likes · 11 min read
Understanding Java: Its Ecosystem, Editions, JDK/JRE, OpenJDK, and the JVM
Java Captain
Java Captain
Apr 9, 2016 · Fundamentals

Key Java Fundamentals: JVM, JRE, JDK, Environment Variables, Data Types, Memory, and More

This article provides concise explanations of core Java concepts including the differences between JVM, JRE and JDK, the roles of PATH and CLASSPATH, variable usage, operators, naming rules, data types, type conversion, Java architecture tiers, cross‑platform nature, signed number representations, functions, overloading, arrays, and memory structure.

Data TypesJDKJRE
0 likes · 6 min read
Key Java Fundamentals: JVM, JRE, JDK, Environment Variables, Data Types, Memory, and More
Sanyou's Java Diary
Sanyou's Java Diary
Aug 10, 2023 · Fundamentals

Why Does JDK Dynamic Proxy Require an Interface? A Deep Dive into Proxy Mechanics

This article explains the inner workings of JDK dynamic proxies, demonstrates a complete example with interface and handler implementations, dissects the Proxy class source code, clarifies why interfaces are mandatory, and shows alternative proxy creation techniques, providing a thorough understanding for Java developers.

Dynamic ProxyInvocationHandlerJDK
0 likes · 12 min read
Why Does JDK Dynamic Proxy Require an Interface? A Deep Dive into Proxy Mechanics
Sanyou's Java Diary
Sanyou's Java Diary
Sep 29, 2022 · Backend Development

Java Dynamic Proxies Explained: From Static to ByteBuddy with Performance Tips

This article explores Java's proxy patterns, detailing static proxy implementation, various dynamic proxy techniques—including JDK, Cglib, Javassist, and ByteBuddy—providing code examples, performance comparisons, and practical guidance for integrating these proxies into backend development for cleaner, more flexible code.

ByteBuddyCGLIBDynamic Proxy
0 likes · 18 min read
Java Dynamic Proxies Explained: From Static to ByteBuddy with Performance Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 17, 2023 · Fundamentals

Explore Java’s Evolution: Key New Features from JDK 10 to JDK 21

This article reviews the most important new features introduced in Java JDK 10 through JDK 21—including local‑variable type inference, the standardized HTTP client, experimental garbage collectors, pattern‑matching enhancements, records, sealed classes, and virtual threads—providing code examples and migration guidance for developers.

JDKJavaJava 21
0 likes · 16 min read
Explore Java’s Evolution: Key New Features from JDK 10 to JDK 21
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 9, 2023 · Backend Development

Master JDK Command-Line Tools for Java Troubleshooting

This guide explains how to use JDK command-line utilities such as jps, jstat, jinfo, jmap, jhat, and jstack to monitor JVM processes, inspect memory usage, generate heap dumps, and diagnose performance issues, providing command syntax, options, and practical examples.

JDKJavaTroubleshooting
0 likes · 8 min read
Master JDK Command-Line Tools for Java Troubleshooting
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 20, 2022 · Backend Development

Java News: JDK 18/19 Updates, Spring Framework Releases, New Value Objects JEP

This roundup covers recent Java ecosystem developments, including the promotion of the Value Objects (Preview) JEP to candidate status, release notes for JDK 18 and early‑access JDK 19 builds, multiple Spring project updates such as Spring Boot 2.7.0‑M1, Spring Data 3.0‑M2 with ListCrudRepository, Spring Security enhancements, as well as Quarkus 2.7.2.Final and a new early‑access version of JReleaser adding Windows resources to jpackage.

JDKJavaOpenJDK
0 likes · 7 min read
Java News: JDK 18/19 Updates, Spring Framework Releases, New Value Objects JEP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 25, 2022 · Backend Development

Latest Java & Framework Releases: JDK 18/19, Spring, Quarkus, Micronaut

Recent Java news highlights early‑access builds of JDK 18 and JDK 19, the 2022 Java roadmap, Spring Framework 5.3.15 and 6.0.0‑M2 releases, Spring Data milestones, Quarkus 2.6.2.Final, Micronaut 3.2.5/3.2.6, Piranha 22.1.0, JobRunr 4.0.6, Eclipse Jifa, Micrometer 2.0.0‑M1 and Tracing 1.0.0‑M1, plus the Foojay mid‑year status report.

Framework ReleasesJDKJava
0 likes · 9 min read
Latest Java & Framework Releases: JDK 18/19, Spring, Quarkus, Micronaut
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 2, 2021 · Backend Development

Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack

This guide explains where Java's command‑line tools reside, why they are small wrappers around tools.jar, and provides detailed usage, options, and examples for the most common diagnostics utilities—including jps, jstat, jinfo, jmap, jhat, and jstack—helping developers monitor and troubleshoot JVM processes effectively.

JDKJavadiagnostic tools
0 likes · 7 min read
Master Java’s Built‑In Diagnostic Tools: jps, jstat, jinfo, jmap, jhat & jstack
Java Architecture Diary
Java Architecture Diary
Jan 26, 2024 · Backend Development

JDK 21 Garbage Collection Benchmarks: G1, Parallel & Generational ZGC

This article compares JDK 8, 17, and 21 using SPECjbb®2015 to evaluate throughput, latency, and memory consumption of G1, Parallel, and generational ZGC, highlighting significant performance gains and offering upgrade guidance for Java applications.

Generational ZGCJDKJava
0 likes · 9 min read
JDK 21 Garbage Collection Benchmarks: G1, Parallel & Generational ZGC
Java Architecture Diary
Java Architecture Diary
Feb 21, 2020 · Backend Development

Why Upgrade to Java 11? Key Features, Performance Boosts, and Migration Tips

This article explains Java 8's commercial licensing, highlights Java 11's performance gains, outlines major language and API enhancements from Java 8 to 11, provides code examples, discusses HTTP client usage, removed components, container support, and recommends Amazon Corretto as a free JDK alternative.

APIJDKJava
0 likes · 14 min read
Why Upgrade to Java 11? Key Features, Performance Boosts, and Migration Tips
macrozheng
macrozheng
Mar 26, 2025 · Fundamentals

What’s New in Java 24? 24 Game‑Changing Features Explained

Java 24, the latest non‑LTS release, brings 24 new features across security, performance, and language enhancements—including KDF APIs, ahead‑of‑time class loading, a new class‑file API, stream gatherers, scoped values, and quantum‑resistant signatures—while previewing Java 25 for September.

JDKJEPJava
0 likes · 15 min read
What’s New in Java 24? 24 Game‑Changing Features Explained
macrozheng
macrozheng
Apr 13, 2021 · Fundamentals

Master the Observer Pattern in Java: Theory, Code, and Real‑World Example

This article explains the Observer pattern, compares it with the Publish‑Subscribe model, showcases Java's built‑in Observable and Observer classes, provides complete code examples, and discusses practical considerations such as memory leaks and performance optimizations.

Design PatternsJDKJava
0 likes · 10 min read
Master the Observer Pattern in Java: Theory, Code, and Real‑World Example
macrozheng
macrozheng
Aug 13, 2020 · Backend Development

Why JDK 8’s computeIfAbsent Can Deadlock: A Deep Dive into the Bug

This article explores a JDK 8 bug in ConcurrentHashMap’s computeIfAbsent method that can cause an infinite loop, explains how the issue was discovered, reproduces it with test code, analyzes the root cause, and shows the fix introduced in JDK 9.

ConcurrentHashMapJDKJava8
0 likes · 16 min read
Why JDK 8’s computeIfAbsent Can Deadlock: A Deep Dive into the Bug
macrozheng
macrozheng
Nov 19, 2019 · Backend Development

Why Java Reflection Is Slow and How It Works Under the Hood

This article explains the internal workings of Java reflection, from obtaining Method objects via getMethod and getDeclaredMethod to the invoke process, and details why reflection incurs significant performance overhead due to argument boxing, visibility checks, parameter validation, lack of inlining, and JIT optimization limits.

JDKJITJava
0 likes · 24 min read
Why Java Reflection Is Slow and How It Works Under the Hood
Qunar Tech Salon
Qunar Tech Salon
Dec 9, 2014 · Fundamentals

Oracle Announces Second Set of Java 9 Features Including Unified JVM Logging, Compiler Controls, and Module System Enhancements

Oracle has revealed the remaining four Java 9 JEPs—unified JVM logging, finer‑grained compiler controls, removal of obsolete garbage‑collector combos, and fixes to the Coin project—while also confirming modularization, DTLS support, HTML5 Javadoc output, and upcoming import‑warning clean‑up, signaling a clearer roadmap for the next Java release.

JDKJEPJVM
0 likes · 5 min read
Oracle Announces Second Set of Java 9 Features Including Unified JVM Logging, Compiler Controls, and Module System Enhancements
JD Retail Technology
JD Retail Technology
Sep 15, 2023 · Backend Development

JDK Upgrade Journey: From JDK 8 to JDK 17 with Performance Gains and GC Tuning

This article documents a comprehensive migration from JDK 8 to JDK 17, detailing new language and JVM features, step‑by‑step upgrade procedures, Maven and SpringBoot version changes, performance benchmarking, and ZGC‑based garbage‑collection tuning to dramatically reduce pause times.

GCJDKJava
0 likes · 20 min read
JDK Upgrade Journey: From JDK 8 to JDK 17 with Performance Gains and GC Tuning