Tagged articles

JVM

1071 articles · Page 1 of 11
IT Services Circle
IT Services Circle
Aug 7, 2026 · Operations

Midnight NullPointerException? How Arthas Fixes It in Minutes

When a production Java service throws a NullPointerException at 2 AM, this article shows how the Arthas diagnostic tool can attach to the running JVM, inspect threads, monitor method parameters, and pinpoint the faulty null value without restarting the service, all within a few minutes.

ArthasJVMdiagnostics
0 likes · 12 min read
Midnight NullPointerException? How Arthas Fixes It in Minutes
Coder Trainee
Coder Trainee
Jul 16, 2026 · Backend Development

Complete Summary of the Six‑Part Java Interview High‑Frequency Questions Series

This article compiles all 60 high‑frequency Java interview questions from six core backend topics—basics, collections, concurrency, JVM, Spring, and microservices—provides a quick‑reference table, outlines the most common and hardest questions, and shares a five‑layer answering technique for interview success.

InterviewJVMSpring
0 likes · 10 min read
Complete Summary of the Six‑Part Java Interview High‑Frequency Questions Series
samdeepthink
samdeepthink
Jul 15, 2026 · Fundamentals

How the JVM Implements Java’s Object‑Oriented Model

The article walks through the JVM’s internal steps that turn a simple `new User()` statement into a fully formed Java object, detailing memory allocation, the object header’s type pointer, the Klass structure, and why methods are stored at the class level rather than in each instance.

JVMKlassObject header
0 likes · 4 min read
How the JVM Implements Java’s Object‑Oriented Model
Coder Trainee
Coder Trainee
Jul 13, 2026 · Fundamentals

Top 10 Must‑Ask JVM Interview Questions

This article presents ten essential JVM interview questions, covering the Java 8 memory model, object allocation flow, common GC algorithms and collectors, class‑loading mechanics, OOM and CPU‑spike troubleshooting, tuning parameters, and the differences among strong, soft, weak and phantom references.

Class LoadingGarbage CollectionJVM
0 likes · 12 min read
Top 10 Must‑Ask JVM Interview Questions
Coder Trainee
Coder Trainee
Jul 10, 2026 · Fundamentals

Top 10 Essential Java Interview Questions: Fundamentals Edition

This article presents ten high‑frequency Java interview questions covering value vs. reference passing, String vs. StringBuilder vs. StringBuffer, == vs. equals, hashCode/equals contract, final/finally/finalize, abstract class vs. interface, reference types, static vs. non‑static inner classes, generics with type erasure, and the exception hierarchy, each with concise explanations, code examples, and extra insights for rapid interview preparation.

InterviewJVMOOP
0 likes · 11 min read
Top 10 Essential Java Interview Questions: Fundamentals Edition
IoT Full-Stack Technology
IoT Full-Stack Technology
Jul 9, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article compiles a comprehensive set of 31 Java‑related architecture diagrams, covering core components such as the class loader, JVM, threading, Spring, Hibernate, as well as related technologies like Android, Linux kernel, cloud computing, and enterprise solutions, each illustrated with detailed images.

AndroidBackend ArchitectureHibernate
0 likes · 5 min read
Comprehensive Collection of Java Backend Architecture Diagrams
IoT Full-Stack Technology
IoT Full-Stack Technology
Jul 8, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article presents a curated list of 31 Java backend architecture diagrams, covering class loader, JVM, technology stack, thread runtime, compilation, JMS, JMX, Spring, Hibernate, iBATIS, Struts, EJB, portal, Android, cloud, Linux kernel, VMware, SAP, SOA, GIS ESB, CRM, and OA, each illustrated with detailed images.

HibernateJVMSpring
0 likes · 6 min read
Comprehensive Collection of Java Backend Architecture Diagrams
CodeOnCode
CodeOnCode
Jul 6, 2026 · Backend Development

Big‑Sale Load Test: Why You Shouldn't Rush to Tune JVM Parameters

During a major sales promotion, a sudden P99 latency jump can tempt teams to tweak JVM settings, but this article shows how to build a three‑layer evidence chain—GC logs, JFR, business and container metrics—to confirm whether the JVM is truly at fault before making any parameter changes.

Big SaleGCJFR
0 likes · 16 min read
Big‑Sale Load Test: Why You Shouldn't Rush to Tune JVM Parameters
Coder Trainee
Coder Trainee
Jul 4, 2026 · Backend Development

Deep Dive into Java Concurrency: The Source-Level Mechanics of synchronized

This article thoroughly examines Java's synchronized keyword, covering its three usage forms, the underlying bytecode instructions, how lock information is stored in the object header's Mark Word, the step‑by‑step lock upgrade process from no‑lock to heavyweight, and JVM optimizations such as lock elimination and coarsening, providing interview‑ready explanations.

JVMLockObject header
0 likes · 10 min read
Deep Dive into Java Concurrency: The Source-Level Mechanics of synchronized
Coder Trainee
Coder Trainee
Jun 29, 2026 · Backend Development

Java Performance Tuning in Practice (Part 6): End-to-End Case Study from Full GC to 200 ms Response

The article walks through a real e‑commerce order service where afternoon spikes caused response times to jump to 2‑3 seconds, Full GC to run every few minutes, and Metaspace to hit 99.9%, then demonstrates step‑by‑step analysis using monitoring, GC logs, jstat, jmap, and heap dumps, fixes a custom class‑loader leak, adjusts JVM flags, and achieves sub‑200 ms latency with no Full GC.

Classloader LeakGCJVM
0 likes · 8 min read
Java Performance Tuning in Practice (Part 6): End-to-End Case Study from Full GC to 200 ms Response
Programmer1970
Programmer1970
Jun 29, 2026 · Backend Development

How We Cut Full GC from 10 seconds to 200 ms: A Complete JVM GC Tuning Guide

A production outage at 3 am revealed a 10‑second Full GC pause on an 8 GB heap; the article walks through evidence collection, heap‑size rebalancing, switching to G1, fine‑tuning G1 parameters, and code changes that together reduced Full GC pauses to 200 ms and improved latency dramatically.

Full GCG1 GCGC Tuning
0 likes · 12 min read
How We Cut Full GC from 10 seconds to 200 ms: A Complete JVM GC Tuning Guide
Coder Trainee
Coder Trainee
Jun 28, 2026 · Fundamentals

Java Performance Tuning Part 5: Hands‑On GC Optimization from G1 to ZGC

This article walks through Java GC tuning by defining low‑latency and high‑throughput goals, comparing major collectors, presenting G1 and ZGC configuration examples, and demonstrating a real‑world payment system case where pause times were reduced from 150‑200 ms to under 50 ms.

G1GCHigh Throughput
0 likes · 8 min read
Java Performance Tuning Part 5: Hands‑On GC Optimization from G1 to ZGC
Coder Trainee
Coder Trainee
Jun 25, 2026 · Backend Development

Java Performance Tuning Part 1: Understanding the JVM Memory Model from a GC Log

This article launches a Java performance tuning series, explaining why GC logs are the starting point, reviewing the JVM memory model, showing how to enable and read GC logs, dissecting minor and full GC entries, comparing common GC algorithms, and introducing visualization tools to help pinpoint memory issues.

GCGarbage CollectionJVM
0 likes · 10 min read
Java Performance Tuning Part 1: Understanding the JVM Memory Model from a GC Log
Architect's Guide
Architect's Guide
Jun 14, 2026 · Cloud Native

18 Visual Guides to Mastering Java Containerization Best Practices

This guide walks through choosing base images, JDK vs JRE, Oracle versus OpenJDK, JVM implementations, signal handling for graceful shutdown, memory‑limit adaptation across JDK versions, DNS caching behavior, and GraalVM native compilation, providing concrete Dockerfile examples, benchmark results, and actionable recommendations for Java containerization.

DockerGraalVMJDK
0 likes · 24 min read
18 Visual Guides to Mastering Java Containerization Best Practices
Java Architect Handbook
Java Architect Handbook
Jun 8, 2026 · Fundamentals

What’s the Relationship Between the JVM Runtime Constant Pool and the String Constant Pool?

This article explains the three Java constant pools—class file, runtime, and string—detailing their evolution from compilation to execution, their memory locations across JDK versions, how string literals are interned, code examples illustrating their behavior, common misconceptions, and typical interview follow‑up questions.

Constant PoolInterviewJVM
0 likes · 15 min read
What’s the Relationship Between the JVM Runtime Constant Pool and the String Constant Pool?
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 3, 2026 · Backend Development

15 Golden Rules for High‑Performance, Maintainable Java Code

This article presents fifteen concrete Java performance‑optimization rules—from readable code and proper data structures to efficient string handling, database access, caching, multithreading, reflection, JVM tuning, and memory management—each illustrated with before/after code examples and practical advice.

JVMMemory ManagementOptimization
0 likes · 14 min read
15 Golden Rules for High‑Performance, Maintainable Java Code
Programmer1970
Programmer1970
May 31, 2026 · Fundamentals

Why synchronized is slower – tracing its roots from MESI cache coherence

The article demystifies why Java's synchronized keyword can be slower by tracing the full path from CPU cache‑coherence (MESI) through bus and cache locks, volatile, biased and lightweight locks, up to the heavyweight monitor implementation, revealing each layer’s impact on visibility, ordering and atomicity.

JVMVolatilecache-coherence
0 likes · 15 min read
Why synchronized is slower – tracing its roots from MESI cache coherence
Java Architect Handbook
Java Architect Handbook
May 27, 2026 · Fundamentals

What Triggers Young GC vs. Full GC in Java? Interview Guide

The article explains that Young GC fires when the Eden space is full, while Full GC can be triggered by old‑generation shortage, metaspace exhaustion, allocation‑guarantee failure, or an explicit System.gc() call, and provides interview‑ready answers, diagnostic steps, and a comparison table.

Garbage CollectionInterviewJVM
0 likes · 14 min read
What Triggers Young GC vs. Full GC in Java? Interview Guide
Architect's Guide
Architect's Guide
May 27, 2026 · Backend Development

Comprehensive Collection of Java Backend Architecture Diagrams

This article compiles over thirty detailed architecture diagrams covering Java class loaders, JVM, Spring, Hibernate, Android, Linux kernel, cloud computing, and various enterprise technologies, offering developers a visual reference library for understanding and designing Java backend systems.

Backend ArchitectureEnterprise ArchitectureHibernate
0 likes · 5 min read
Comprehensive Collection of Java Backend Architecture Diagrams
Java Tech Workshop
Java Tech Workshop
May 24, 2026 · Fundamentals

Why Does Java Initialize Static Members Before Instance Members? A Deep Dive into Object Initialization

The article explains Java's two‑phase object initialization, the seven‑step JVM process, static versus instance execution order, parent‑child class initialization rules, variable assignment lifecycle, and common pitfalls such as static forward references and constructor‑called overridden methods, all illustrated with concrete code examples.

InterviewJVMconstructor
0 likes · 10 min read
Why Does Java Initialize Static Members Before Instance Members? A Deep Dive into Object Initialization
Java Tech Workshop
Java Tech Workshop
May 18, 2026 · Fundamentals

Understanding Compile-Time and Run-Time Constants in Java

This article explains the fundamental differences between compile-time and run-time constants in Java, covering their definitions, required modifiers, allowed data types, initialization rules, JVM storage behavior, class‑initialization effects, constant‑folding optimizations, practical code examples, common pitfalls, and guidelines for choosing the appropriate constant type in production code.

JVMbest practicescompile-time
0 likes · 21 min read
Understanding Compile-Time and Run-Time Constants in Java
TonyBai
TonyBai
May 7, 2026 · Backend Development

Why an AWS Evangelist Calls Go’s Concurrency a Joke Compared to JVM’s Superior Model

The article revisits the heated debate sparked by AWS evangelist James Ward, who argues that Go’s concurrency primitives are inferior to the JVM’s virtual threads, structured concurrency, and effect systems, using a demanding connection‑pool challenge to illustrate the trade‑offs and guide architects in choosing the right model for their workloads.

Backend ArchitectureEffect SystemsGo
0 likes · 11 min read
Why an AWS Evangelist Calls Go’s Concurrency a Joke Compared to JVM’s Superior Model
Java Architect Handbook
Java Architect Handbook
Apr 30, 2026 · Fundamentals

What Is a Daemon Thread and How Does It Differ From a Normal Thread?

The article explains that a daemon (background) thread in Java supports user threads but does not prevent JVM shutdown; when all non‑daemon threads finish, the JVM exits regardless of daemon threads, covering definitions, usage scenarios, creation methods, pitfalls, detailed comparisons, and typical interview questions.

DaemonThreadJVMThreadLifecycle
0 likes · 10 min read
What Is a Daemon Thread and How Does It Differ From a Normal Thread?
LuTiao Programming
LuTiao Programming
Apr 29, 2026 · Backend Development

Java 2026 Learning Roadmap: The Proven Path to Double Your Salary

This article outlines a step‑by‑step Java learning roadmap—from core fundamentals to microservices, high‑concurrency, AI integration, and cloud‑native deployment—showing how targeted skill progression can dramatically boost both technical competence and earning potential.

AICloud NativeJVM
0 likes · 9 min read
Java 2026 Learning Roadmap: The Proven Path to Double Your Salary
Java Backend Full-Stack
Java Backend Full-Stack
Apr 20, 2026 · Backend Development

What Skills Should a 3‑Year Java Backend Developer Master?

The article outlines a comprehensive skill matrix for a three‑year Java backend engineer, covering core Java and JVM knowledge, mainstream frameworks, storage, messaging, containerization, architecture, engineering practices, soft skills, and emerging trends such as AI integration and reactive programming.

DockerJVMKubernetes
0 likes · 9 min read
What Skills Should a 3‑Year Java Backend Developer Master?
Java Web Project
Java Web Project
Apr 16, 2026 · Backend Development

How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service

The article walks through a 13‑hour out‑of‑memory incident on a Spring Boot 2.7 service running in Kubernetes, detailing how to preserve the crash dump, interpret GC logs, use MAT and Arthas to pinpoint a static HashMap leak, and apply both temporary and permanent fixes while hardening the system for future safety.

ArthasJVMKubernetes
0 likes · 18 min read
How I Resolved a 13‑Hour OOM Nightmare in a Spring Boot Service
LuTiao Programming
LuTiao Programming
Mar 26, 2026 · Backend Development

5 Overlooked Java Features That Are Silently Slowing Your JVM

The article demonstrates how five often‑ignored Java 21 capabilities—virtual threads, structured concurrency, ZGC, records, and pattern matching—can dramatically improve throughput and stability, while neglecting them silently degrades JVM performance.

JVMPattern MatchingRecords
0 likes · 7 min read
5 Overlooked Java Features That Are Silently Slowing Your JVM
ITPUB
ITPUB
Mar 22, 2026 · Backend Development

How I Rescued a Critical Java Service from 100% CPU: A Step‑by‑Step Debugging Guide

When a midnight CPU alarm threatened a core Java service, I raced through system checks, JVM profiling, algorithm refactoring, database indexing, Docker isolation, and Prometheus alerts, ultimately restoring performance and highlighting the importance of proactive monitoring and technical debt management.

CPUDockerJVM
0 likes · 7 min read
How I Rescued a Critical Java Service from 100% CPU: A Step‑by‑Step Debugging Guide
Coder Trainee
Coder Trainee
Mar 21, 2026 · Backend Development

Demystifying JVM Tuning: Practical Principles and Parameter Guide

The article outlines JVM tuning fundamentals, categorizing common issues, presenting six optimization principles, detailing key JVM parameters, and introducing the jps command‑line tool to help developers diagnose and improve Java application performance while maintaining stability.

Garbage CollectionJVMjava
0 likes · 4 min read
Demystifying JVM Tuning: Practical Principles and Parameter Guide
Coder Trainee
Coder Trainee
Mar 21, 2026 · Fundamentals

Understanding JVM Basics for Effective Tuning

The article explains the JVM's core components, execution workflow, garbage collection fundamentals—including GC roots and Stop-The-World pauses—and introduces basic tuning tools like VisualVM and Arthas, helping readers grasp where performance optimizations should focus.

ArthasGarbage CollectionJVM
0 likes · 3 min read
Understanding JVM Basics for Effective Tuning
LuTiao Programming
LuTiao Programming
Mar 18, 2026 · Backend Development

Why Java Performance Is Secretly Crushed by Strings: Hidden Memory Killers Most Developers Miss

A production outage caused by OutOfMemoryError revealed that millions of duplicate String objects—originating from HTTP headers, JSON keys, and other common fields—were silently inflating heap usage, and the article shows how to diagnose, optimize, and prevent such hidden String-related memory problems in Java applications.

Escape AnalysisGCIntern
0 likes · 7 min read
Why Java Performance Is Secretly Crushed by Strings: Hidden Memory Killers Most Developers Miss
Java Architect Handbook
Java Architect Handbook
Mar 12, 2026 · Backend Development

How Many Objects Does new String("abc") Actually Create?

This article explains why the interview question "String str = new String(\"abc\")" can create either one or two objects depending on JVM string pool state, detailing the JVM memory model, string pool mechanics, code examples, best practices, and common misconceptions.

InterviewJVMMemory Management
0 likes · 9 min read
How Many Objects Does new String("abc") Actually Create?
Lisa Notes
Lisa Notes
Mar 12, 2026 · Fundamentals

Java Language and Platform: A Beginner’s Guide to Write Once, Run Anywhere

The article explains how Java source files are compiled into bytecode, run on the JVM across Windows, Linux, macOS, and Solaris, and describes the two parts of the Java platform—the virtual machine and the API—highlighting why Java’s “write once, run anywhere” model suits distributed, object‑oriented development.

APIBytecodeJVM
0 likes · 5 min read
Java Language and Platform: A Beginner’s Guide to Write Once, Run Anywhere
MeowKitty Programming
MeowKitty Programming
Mar 10, 2026 · Industry Insights

Why Java Remains the Undying Choice for Enterprise Development

The article analyzes Java's enduring dominance in enterprise software by examining its cross‑platform runtime, extensive ecosystem, continuous language and runtime innovations, performance and security breakthroughs, and the resulting cost, stability, and talent advantages that keep 90% of Fortune 500 companies invested.

Cloud NativeEnterprise DevelopmentJVM
0 likes · 8 min read
Why Java Remains the Undying Choice for Enterprise Development
Tech Musings
Tech Musings
Mar 5, 2026 · Cloud Native

Why Default Java GC Settings Kill Performance on Kubernetes (And How to Fix It)

Through a controlled experiment with four Spring Boot service groups on Kubernetes, this article shows that relying on Java’s default GC and heap settings can drastically reduce throughput and increase tail latency, especially under higher load, and demonstrates how explicit GC algorithm and Xms/Xmx tuning restores performance.

GCJVMKubernetes
0 likes · 13 min read
Why Default Java GC Settings Kill Performance on Kubernetes (And How to Fix It)
Ops Community
Ops Community
Mar 2, 2026 · Backend Development

How to Supercharge Tomcat 11 on JDK 21: Real‑World JVM, Connection Pool, and Virtual Thread Tuning

This guide walks you through practical performance tuning of Tomcat 11 on JDK 21, covering JVM memory settings, GC selection, connector and thread‑pool optimization, virtual‑thread integration, benchmark scripts, security hardening, high‑availability deployment, and comprehensive monitoring and troubleshooting techniques.

DockerG1 GCJDK21
0 likes · 51 min read
How to Supercharge Tomcat 11 on JDK 21: Real‑World JVM, Connection Pool, and Virtual Thread Tuning
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Feb 22, 2026 · Cloud Native

How to Stabilize Java Services on Kubernetes: A 3‑Year Success Story

This article walks through a real‑world Java service on Kubernetes, detailing the initial confidence, recurring OOM and rollout issues, and a multi‑round remediation that introduced container‑aware JVM settings, refined resource requests, OOM dumps, probes, and metrics, ultimately achieving three years of stable operation with lower resource usage.

Cloud NativeJVMKubernetes
0 likes · 10 min read
How to Stabilize Java Services on Kubernetes: A 3‑Year Success Story
Ray's Galactic Tech
Ray's Galactic Tech
Jan 31, 2026 · Databases

Master Elasticsearch Performance: Practical Production‑Level Optimization Guide

This guide presents a production‑grade, step‑by‑step approach to boost Elasticsearch performance, covering advanced index design, mapping best practices, query and aggregation tuning, JVM and cluster settings, bulk write optimization, monitoring, and real‑world log‑system scenarios with concrete code examples and configuration snippets.

JVMMonitoringOptimization
0 likes · 9 min read
Master Elasticsearch Performance: Practical Production‑Level Optimization Guide
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Jan 30, 2026 · Backend Development

How Java Virtual Threads Cut Latency by 31× and Slash CPU Use in Production

This article explains the principles of Java virtual threads, compares them with traditional platform threads, details RedJDK21’s implementation and performance improvements—including up to 31‑fold latency reduction and 24% CPU savings—in large‑scale services at XiaoHongShu, and discusses migration challenges, lock handling, monitoring, and future roadmap.

JVMRedJDK21Virtual Threads
0 likes · 29 min read
How Java Virtual Threads Cut Latency by 31× and Slash CPU Use in Production
IT Services Circle
IT Services Circle
Jan 25, 2026 · Interview Experience

Top 17 Java Backend Interview Questions & Answers (2024) – From Collections to JVM

This article combines a detailed Baidu 2026 campus recruitment salary table with an extensive Java interview guide covering collections, concurrency, thread creation, thread pools, I/O models, Spring bean lifecycle, Redis persistence, MySQL isolation levels, MVCC, storage engines, data structures, TCP/UDP differences, JVM memory layout, garbage collection algorithms, and a quicksort example, providing a comprehensive resource for backend developers preparing for technical interviews.

InterviewJVMconcurrency
0 likes · 30 min read
Top 17 Java Backend Interview Questions & Answers (2024) – From Collections to JVM
IT Services Circle
IT Services Circle
Jan 17, 2026 · Backend Development

Kuaishou Campus Salary Insights & Java Backend Interview Guide

The article reveals that Kuaishou’s 2023 campus hires for backend and frontend roles typically earn 40‑50 wan yuan annually, discusses salary trends compared with previous years, and then provides a comprehensive Java backend interview guide covering JVM memory, garbage collectors, CMS GC process, concurrency primitives, and SQL join differences.

GCInterviewJVM
0 likes · 15 min read
Kuaishou Campus Salary Insights & Java Backend Interview Guide
MaGe Linux Operations
MaGe Linux Operations
Jan 12, 2026 · Backend Development

Master JVM Tuning on JDK 21: Reduce GC Pauses and Boost Throughput

This comprehensive guide walks you through diagnosing Full GC pauses on a Java 2020 production outage, explains JVM memory structures, compares JDK 21 garbage collectors, and provides step‑by‑step installation, configuration, and tuning instructions for Tomcat, monitoring tools, and real‑world case studies to achieve stable, high‑throughput services.

GCJDK21JVM
0 likes · 33 min read
Master JVM Tuning on JDK 21: Reduce GC Pauses and Boost Throughput
Architect Chen
Architect Chen
Dec 23, 2025 · Backend Development

How to Reduce Java GC Pauses from 200 ms to 20 ms: A Practical Tuning Guide

This guide explains how to systematically analyze and optimize Java garbage‑collection pauses—cutting typical 200 ms stalls down to around 20 ms—by enabling detailed logs, selecting the right collector, tuning heap and generation settings, minimizing allocation, handling large objects, and balancing GC threads with CPU resources.

GCJVMjava
0 likes · 5 min read
How to Reduce Java GC Pauses from 200 ms to 20 ms: A Practical Tuning Guide
Top Architect
Top Architect
Dec 22, 2025 · Backend Development

Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator

This article explains how to perform a graceful shutdown of Java services by using Linux kill signals, configuring JVM SignalHandler and Runtime shutdown hooks, releasing resources such as thread pools and sockets, and exposing a Spring Boot Actuator endpoint for controlled termination, complete with code examples and configuration details.

JVMKill CommandSpring Boot
0 likes · 16 min read
Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator
macrozheng
macrozheng
Dec 22, 2025 · Backend Development

Why Your Java ThreadPool Threads Aren’t Releasing and How Shutdown Fixes It

The article investigates a Java application that accumulated nearly a thousand waiting threads without high CPU or memory usage, identifies a custom FixedThreadPool as the cause, explains how thread pools become GC roots, and demonstrates that calling shutdown or shutdownNow properly releases both threads and the pool.

GarbageCollectionJVMShutdown
0 likes · 13 min read
Why Your Java ThreadPool Threads Aren’t Releasing and How Shutdown Fixes It
LuTiao Programming
LuTiao Programming
Dec 16, 2025 · Cloud Native

How We Fully Squeezed Docker Performance: A Complete Record of Optimizing 40+ Spring Boot Services

After migrating over 40 Spring Boot microservices to Docker and Kubernetes, the authors encountered slow startups, OOM kills, unexpected latency, and pod restarts, and they detail a step‑by‑step analysis and concrete Dockerfile, JVM, CPU, GC, and Kubernetes configurations that turned the services into fast, stable, and observable production workloads.

DockerGCJVM
0 likes · 10 min read
How We Fully Squeezed Docker Performance: A Complete Record of Optimizing 40+ Spring Boot Services
Ray's Galactic Tech
Ray's Galactic Tech
Dec 10, 2025 · Cloud Native

Mastering Java Memory Tuning in Kubernetes: Prevent OOMKilled

Learn how to align Kubernetes pod memory limits with JVM settings using container‑aware parameters, manual calculations, and best‑practice configurations—including MaxRAMPercentage, headroom allocation, metaspace limits, monitoring, and deployment examples—to avoid OOMKilled and ensure stable Java application performance.

DevOpsJVMMemory Tuning
0 likes · 8 min read
Mastering Java Memory Tuning in Kubernetes: Prevent OOMKilled
Top Architect
Top Architect
Dec 8, 2025 · Backend Development

How Much Heap Memory Does Each SpringBoot HTTP Request Really Use?

This article explains how to measure the exact heap memory consumption of individual SpringBoot HTTP and RPC requests by calculating required memory from request size, configuring JVM GC parameters, creating a JMeter test plan, collecting GC logs, and analyzing results to identify optimization opportunities.

GCJMeterJVM
0 likes · 10 min read
How Much Heap Memory Does Each SpringBoot HTTP Request Really Use?
JavaGuide
JavaGuide
Dec 2, 2025 · Interview Experience

Tuhu Auto’s 2023 Java Backend Salary & Interview Guide: 30k‑33k Packages and Key Technical Topics

The article details Tuhu Auto’s Shanghai Java backend compensation (30k‑33k monthly with 14.4‑month salary and 2‑3w signing bonus), outlines the company’s market position, and provides a comprehensive list of technical and HR interview questions covering JVM, concurrency, MySQL, Spring, DDD, distributed locking, rate limiting, and more.

InterviewJVMMySQL
0 likes · 7 min read
Tuhu Auto’s 2023 Java Backend Salary & Interview Guide: 30k‑33k Packages and Key Technical Topics
Su San Talks Tech
Su San Talks Tech
Nov 30, 2025 · Backend Development

Does try…catch Really Slow Down Java? Deep Dive and Benchmarks

This article examines whether Java's try…catch blocks affect performance by exploring their historical origins, JVM exception mechanisms, detailed micro‑benchmarks, and modern JVM optimizations, ultimately revealing that only exception creation and throwing incur noticeable costs while normal execution remains virtually unaffected.

Exception HandlingJVMbenchmark
0 likes · 19 min read
Does try…catch Really Slow Down Java? Deep Dive and Benchmarks
Java Tech Enthusiast
Java Tech Enthusiast
Nov 29, 2025 · Operations

Why Did One Pod Trigger 61 Young GCs and a Full GC? A Step‑by‑Step Diagnosis

A developer encountered a sudden CPU spike caused by excessive JVM garbage collection in a single Kubernetes pod, and by using Linux monitoring tools, thread‑ID conversion, jstack analysis, and file transfer techniques pinpointed a flawed Excel export implementation that created massive in‑memory lists, ultimately fixing the issue.

JVMKubernetesLinux
0 likes · 6 min read
Why Did One Pod Trigger 61 Young GCs and a Full GC? A Step‑by‑Step Diagnosis
Top Architect
Top Architect
Nov 24, 2025 · Fundamentals

How Many Objects Does a Java String Create? Literal vs new String Explained

This article breaks down the exact number of objects created when using a string literal versus the new String constructor in Java, detailing interactions with the constant pool, stack, and heap, and demonstrates the resulting reference comparisons with concrete code examples.

JVMMemory ManagementObject Creation
0 likes · 5 min read
How Many Objects Does a Java String Create? Literal vs new String Explained
macrozheng
macrozheng
Nov 24, 2025 · Cloud Native

Diagnosing Excessive GC and CPU Spikes in a Kubernetes Java Pod

When a production pod suddenly hit 90% CPU and dozens of young and full GCs within two hours, the author walks through a step‑by‑step investigation using top, thread‑level monitoring, jstack, and stack analysis to pinpoint a Java‑level memory issue and resolve it.

GCJVMjava
0 likes · 7 min read
Diagnosing Excessive GC and CPU Spikes in a Kubernetes Java Pod
macrozheng
macrozheng
Nov 21, 2025 · Backend Development

Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More

This article provides a comprehensive guide to Java concurrency and related concepts, covering synchronized lock upgrades, object vs class locks, lazy and double‑checked singleton implementations, ThreadLocal mechanics, reflection usage, annotation scopes, JVM class loading, and Redis cluster threading behavior.

JVMRedisThreadLocal
0 likes · 22 min read
Master Java Concurrency: Locks, Singleton Patterns, ThreadLocal, Reflection and More
JavaGuide
JavaGuide
Nov 16, 2025 · Backend Development

ByteDance Backend Interview: Java OOM, ThreadPool Tuning, Redis & MQ

ByteDance’s recent salary announcements show higher offers up to 40K, while the company’s rigorous backend interview covers Java heap OOM analysis, JVM tuning, thread‑pool configuration, Redis expiration strategies, MQ usage, network request flow, and algorithm challenges, providing a comprehensive technical deep‑dive for candidates.

InterviewJVMMessageQueue
0 likes · 24 min read
ByteDance Backend Interview: Java OOM, ThreadPool Tuning, Redis & MQ
IT Services Circle
IT Services Circle
Nov 13, 2025 · Fundamentals

Unlock Java Mastery: From Compilation to Collections, Concurrency and Career Insights

This article combines practical salary insights for Java developers at Transsion with a deep dive into Java fundamentals—including the compilation pipeline, JVM benefits, differences from C++, exception handling, core collection frameworks, concurrency concepts, interview preparation tips, and essential AI knowledge for developers.

AICollectionsInterview
0 likes · 14 min read
Unlock Java Mastery: From Compilation to Collections, Concurrency and Career Insights
Ray's Galactic Tech
Ray's Galactic Tech
Nov 12, 2025 · Operations

Mastering JVM: The Ultimate Toolbox for Monitoring, Profiling, and Debugging

Explore the comprehensive suite of built‑in and third‑party JVM tools—including jps, jstack, jmap, jcmd, JConsole, VisualVM, async‑profiler, Arthas, MAT, JProfiler, and APM solutions—detailing their core features, common commands, and practical use‑cases for monitoring, diagnosing, and optimizing Java applications in development and production.

JVMJava Toolsdiagnostics
0 likes · 9 min read
Mastering JVM: The Ultimate Toolbox for Monitoring, Profiling, and Debugging
IT Services Circle
IT Services Circle
Nov 10, 2025 · Backend Development

Ace Java Backend Interviews: Spring Injection, MySQL Engines, Redis & JVM OOM

This article combines salary insights for ZTE offers, practical internship interview tips, a deep dive into Spring bean‑injection annotations, a side‑by‑side comparison of MySQL InnoDB and MyISAM, Redis usage patterns, and JVM OutOfMemoryError diagnostics to help you excel in Java backend interviews.

InterviewJVMMySQL
0 likes · 21 min read
Ace Java Backend Interviews: Spring Injection, MySQL Engines, Redis & JVM OOM
JavaGuide
JavaGuide
Nov 6, 2025 · Fundamentals

Why Transsion’s Java Jobs Offer 30‑40k Salaries and How to Ace Their Easy Interview

Transsion’s Java positions in Shanghai and Shenzhen pay 300k‑400k RMB, the interview is surprisingly simple, and the article walks through Java’s compilation pipeline, JVM benefits, Java‑C++ differences, exception handling, collections, concurrency, multithreading, project‑prep tips, and essential AI concepts for interviewers.

CollectionsInterviewJVM
0 likes · 14 min read
Why Transsion’s Java Jobs Offer 30‑40k Salaries and How to Ace Their Easy Interview
Code Ape Tech Column
Code Ape Tech Column
Nov 5, 2025 · Backend Development

How Jeandle Leverages LLVM to Supercharge JVM Performance

Jeandle, an open‑source JIT compiler built on LLVM, brings advanced optimization and code generation to the OpenJDK HotSpot JVM, promising dramatic performance gains, modular extensibility, and a roadmap that includes full bytecode support, custom Java optimizations, and modern garbage‑collection integration.

CompilerJVMLLVM
0 likes · 6 min read
How Jeandle Leverages LLVM to Supercharge JVM Performance
Selected Java Interview Questions
Selected Java Interview Questions
Nov 4, 2025 · Backend Development

Jeandle: How Ant Group’s LLVM‑Based JVM JIT Aims to Supercharge Java Performance

Jeandle, the newly open‑sourced LLVM‑based JIT compiler from Ant Group, combines JVM and LLVM strengths to dramatically boost Java execution speed, explains JIT and LLVM fundamentals, outlines its architectural advantages, and details an ambitious roadmap toward full bytecode support and advanced optimizations.

CompilerJVMLLVM
0 likes · 7 min read
Jeandle: How Ant Group’s LLVM‑Based JVM JIT Aims to Supercharge Java Performance
Java Captain
Java Captain
Oct 31, 2025 · Backend Development

How Jeandle Uses LLVM to Supercharge JVM Performance

Jeandle, the new open‑source LLVM‑based JIT compiler for the OpenJDK HotSpot JVM, brings LLVM's powerful optimizations to Java, explaining JIT fundamentals, LLVM architecture, and the project's ambitious roadmap toward full bytecode support and advanced Java‑specific performance enhancements.

CompilerJVMLLVM
0 likes · 5 min read
How Jeandle Uses LLVM to Supercharge JVM Performance
Su San Talks Tech
Su San Talks Tech
Oct 30, 2025 · Backend Development

7 Proven Techniques to Slash Spring Boot Startup Time by Over 70%

This article walks through seven practical Spring Boot startup‑time optimizations—lazy initialization, precise component scanning, JVM tuning, auto‑configuration pruning, class‑loading reduction, lazy database connections, and AOT/layered compilation—backed by real‑world case studies and measurable performance gains.

AOTJVMLazy Initialization
0 likes · 10 min read
7 Proven Techniques to Slash Spring Boot Startup Time by Over 70%
Architect's Guide
Architect's Guide
Oct 30, 2025 · Backend Development

How Jeandle Uses LLVM to Supercharge JVM Performance

Jeandle, an open‑source JVM JIT compiler from Ant Group, leverages LLVM's modular optimization and code‑generation capabilities to bring unprecedented performance to Java applications, outlining its architecture, core concepts, and ambitious roadmap for future enhancements.

CompilerJVMJeandle
0 likes · 6 min read
How Jeandle Uses LLVM to Supercharge JVM Performance
Xiao Liu Lab
Xiao Liu Lab
Oct 28, 2025 · Operations

How to Safely Optimize Tomcat Memory for Stable Production

This guide walks you through why Tomcat's default JVM settings are insufficient, common pitfalls when manually editing catalina.sh, and the recommended, maintainable approach using setenv.sh to configure heap, Metaspace, and GC options for reliable, high‑performance server operation.

JVMMemory OptimizationTomcat
0 likes · 7 min read
How to Safely Optimize Tomcat Memory for Stable Production
Tech Freedom Circle
Tech Freedom Circle
Oct 20, 2025 · Backend Development

Mastering JVM Tuning: Real-World Enterprise Case Study for Interview Success

The article walks through a high‑traffic video service that suffered GC spikes, details a systematic diagnosis of three JVM configuration flaws, evaluates four GC tuning schemes across load scenarios, resolves CMS‑related pauses, and presents concrete performance gains with metrics, code snippets, and visual charts.

CMSGC TuningJVM
0 likes · 28 min read
Mastering JVM Tuning: Real-World Enterprise Case Study for Interview Success
Programmer1970
Programmer1970
Oct 20, 2025 · Backend Development

Spring Boot Microservice Auto‑Exit After Startup: Diagnosis and Fixes

The article analyzes why a Spring Boot microservice may start and then terminate instantly without logs, covering JVM memory misconfiguration, dependency conflicts, configuration file errors, and compatibility issues, and provides step‑by‑step diagnostic commands, code examples, and practical remediation strategies.

ActuatorDependency ManagementDocker
0 likes · 12 min read
Spring Boot Microservice Auto‑Exit After Startup: Diagnosis and Fixes
Programmer DD
Programmer DD
Oct 19, 2025 · Backend Development

Can Shorter Variable Names Speed Up Java? Surprising Benchmark Results

A recent study shows that deliberately shortening or misspelling Java variable names can reduce latency and increase throughput by up to 49%, revealing hidden performance costs in the JVM's string handling and prompting a data‑driven, selective naming strategy for high‑throughput systems.

JVMjavamicrobenchmark
0 likes · 8 min read
Can Shorter Variable Names Speed Up Java? Surprising Benchmark Results
JavaGuide
JavaGuide
Oct 19, 2025 · Backend Development

Java Backend Guide: @Autowired vs @Resource, MySQL Engines, Redis, JVM OOM

The article shares ZTE salary offers and interview tips, then dives into technical deep‑dives on Spring bean injection annotations, compares MySQL InnoDB and MyISAM, explains Redis usage patterns, and walks through JVM OutOfMemoryError diagnosis with concrete code and tooling examples.

JVMMySQLRedis
0 likes · 21 min read
Java Backend Guide: @Autowired vs @Resource, MySQL Engines, Redis, JVM OOM
ITPUB
ITPUB
Oct 18, 2025 · Backend Development

How We Eliminated GC Pauses in a 100k QPS Service: Deep Dive into JVM Tuning

This article details the step‑by‑step investigation and JVM‑level optimizations—including early tenuring, parameter tuning, ZGC migration, and an Eden‑pre‑heat trick—that transformed a high‑concurrency, low‑latency system from 95% to 99.995% success during massive index switches.

G1GCGC TuningJVM
0 likes · 22 min read
How We Eliminated GC Pauses in a 100k QPS Service: Deep Dive into JVM Tuning
Top Architect
Top Architect
Oct 15, 2025 · Backend Development

How to Tune JVM for 1M Daily Logins on an 8 GB Server

This article walks through a step‑by‑step guide for configuring JVM memory, selecting the right garbage collector, and fine‑tuning parameters to reliably handle a platform receiving one million login requests per day on a service node with 8 GB RAM, covering capacity planning, GC choice, heap sizing, thread stack, object aging, and monitoring.

Garbage CollectionJVMMemory Management
0 likes · 27 min read
How to Tune JVM for 1M Daily Logins on an 8 GB Server
Selected Java Interview Questions
Selected Java Interview Questions
Oct 15, 2025 · Backend Development

How to Turbocharge Java Spring Boot Startup: From Seconds to Milliseconds

This article explains why Java applications often start slowly, identifies the main culprits such as excessive class loading, bloated JARs, and reflection, and provides a comprehensive set of JVM, Spring Boot, code‑level, and deployment optimizations—including lazy loading, auto‑configuration pruning, GraalVM native images, and container probes—to dramatically reduce startup time and ace interview questions.

JVMSpring Bootjava
0 likes · 13 min read
How to Turbocharge Java Spring Boot Startup: From Seconds to Milliseconds
Ray's Galactic Tech
Ray's Galactic Tech
Oct 14, 2025 · Backend Development

15 Proven Spring Boot Performance Hacks to Supercharge Your Apps

This guide presents fifteen practical Spring Boot performance techniques—from lazy initialization and context indexing to JVM tuning, connection‑pool tweaks, caching strategies, JSON serialization, and native image compilation—providing concrete configurations, code snippets, and best‑practice advice for faster startup, lower memory usage, and higher throughput.

JVMSpring Bootjava
0 likes · 11 min read
15 Proven Spring Boot Performance Hacks to Supercharge Your Apps
Smart Sea Tide
Smart Sea Tide
Oct 9, 2025 · Big Data

Effective Spark Performance Tuning and Troubleshooting Guide

This article details practical Spark performance optimizations—including RDD reuse, broadcast variables, Kryo serialization, parallelism settings, shuffle tuning, and JVM tweaks—while also presenting systematic solutions for data skew, shuffle failures, serialization errors, and YARN mode issues, all illustrated with concrete code snippets and examples.

BroadcastCheckpointData Skew
0 likes · 25 min read
Effective Spark Performance Tuning and Troubleshooting Guide