Tagged articles

JVM

1071 articles · Page 2 of 11
MaGe Linux Operations
MaGe Linux Operations
Sep 30, 2025 · Cloud Native

Boosting Docker CPU Utilization: From 30% to 90% in 3 Months

This article recounts a three‑month deep‑dive into Docker container performance, detailing how we identified root causes such as Java container‑awareness, CPU pinning, memory limits, I/O bottlenecks, and network overhead, and applied systematic tuning of cgroups, JVM flags, Docker Compose settings, and storage/network configurations to raise CPU usage to 90% and double throughput.

DockerJVMcgroups
0 likes · 26 min read
Boosting Docker CPU Utilization: From 30% to 90% in 3 Months
Tech Freedom Circle
Tech Freedom Circle
Sep 28, 2025 · Backend Development

Midnight TODO That Nearly Crashed the Whole Department: A JVM Performance Tuning Case Study

During a midnight promotion launch, a forgotten TODO caused thread‑pool exhaustion and frequent Full GC, bringing down an e‑commerce service; the article presents a five‑step end‑to‑end JVM tuning methodology, from data collection to root‑cause verification and code fix, showing how to diagnose and resolve such incidents.

Full GCHeap DumpJVM
0 likes · 24 min read
Midnight TODO That Nearly Crashed the Whole Department: A JVM Performance Tuning Case Study
Dunmao Tech Hub
Dunmao Tech Hub
Sep 25, 2025 · Backend Development

Enable Java Virtual Threads in Spring Boot for Million‑Scale Concurrency

This guide explains how Spring Boot 3.5.6 running on JDK 21 can leverage Java virtual threads to handle millions of concurrent requests, covering the concept, environment setup, Maven configuration, enabling the feature, and a simple test controller to verify the thread model.

JVMJava21Virtual Threads
0 likes · 6 min read
Enable Java Virtual Threads in Spring Boot for Million‑Scale Concurrency
Java Tech Enthusiast
Java Tech Enthusiast
Sep 24, 2025 · Backend Development

Essential Java Interview Questions Every Backend Engineer Must Master

This guide compiles high‑frequency Java interview questions—from core language concepts and collections to JVM tuning, MySQL indexing, Redis caching, Spring frameworks, micro‑services, and MQ reliability—providing a comprehensive reference for candidates targeting small‑to‑mid‑size companies.

JVMMySQLRedis
0 likes · 11 min read
Essential Java Interview Questions Every Backend Engineer Must Master
MaGe Linux Operations
MaGe Linux Operations
Sep 20, 2025 · Operations

Master Tomcat Memory Tuning: Boost Performance Up to 300%

This comprehensive guide shows how a seasoned operations engineer can dramatically improve Tomcat stability and throughput by understanding JVM memory structures, configuring optimal JVM and connector parameters, selecting the right garbage collector, and implementing robust monitoring and diagnostics to prevent crashes and latency.

JVMMemory OptimizationServer configuration
0 likes · 15 min read
Master Tomcat Memory Tuning: Boost Performance Up to 300%
Architect's Must-Have
Architect's Must-Have
Sep 15, 2025 · Operations

Resolving Common Jenkins Compatibility Issues and Optimizing Performance

This guide details how to address Jenkins Performance plugin compatibility problems, modify CSP security policies, customize the Jenkins context path, fix git clone timeouts, resolve batch command failures, replace vulnerable JARs, run JNLP files on Windows agents, disable CSRF protection, adjust JVM memory settings, and implement disk space and build timeout optimizations.

CI/CDCSPDevOps
0 likes · 12 min read
Resolving Common Jenkins Compatibility Issues and Optimizing Performance
Su San Talks Tech
Su San Talks Tech
Sep 10, 2025 · Backend Development

Master Java Backend Interview Questions: HTTP Status, JVM, Multithreading & More

This article shares Beike's recent campus hiring salary data and provides a comprehensive Java backend interview guide covering HTTP response codes, session vs. cookie, runtime and checked exceptions, abstract classes vs. interfaces, StringBuilder vs. String, JVM memory structure, multithreading techniques, thread‑pool parameters, the synchronized keyword, B+‑tree indexing, and essential Linux commands.

InterviewJVMLinux
0 likes · 23 min read
Master Java Backend Interview Questions: HTTP Status, JVM, Multithreading & More
dbaplus Community
dbaplus Community
Sep 9, 2025 · Operations

How We Eliminated GC‑Induced Pauses in a 100k QPS Service

This article details a step‑by‑step investigation of a high‑concurrency, low‑latency system whose instability was traced to long‑lasting Young‑GC pauses during massive index swaps, and explains how targeted JVM parameter tweaks, GC‑log analysis, and a lightweight Eden‑pre‑heat technique finally achieved near‑perfect availability.

G1GCGC TuningJVM
0 likes · 22 min read
How We Eliminated GC‑Induced Pauses in a 100k QPS Service
Architect
Architect
Sep 7, 2025 · Backend Development

Why Did My Spring Boot Services Consume 12 GB Each? A JVM Memory Deep Dive

This article records and analyzes a production incident where multiple Spring Boot microservices each consumed around 12 GB of RAM, explains why the default JVM settings caused the overload, and provides step‑by‑step troubleshooting and tuning recommendations to prevent similar memory‑usage problems.

JVMMicroservicesSpring Boot
0 likes · 7 min read
Why Did My Spring Boot Services Consume 12 GB Each? A JVM Memory Deep Dive
IT Services Circle
IT Services Circle
Sep 7, 2025 · Backend Development

Master Java Backend Interview: JVM, ClassLoaders, AOP, and More

This article guides job seekers through the autumn recruitment season, highlights bank hiring timelines and English requirements, and then provides a comprehensive Java interview Q&A covering JVM memory structures, object allocation failures, the parent‑delegation model, message‑queue usage, Spring AOP principles, and database string type differences.

ClassLoaderInterviewJVM
0 likes · 17 min read
Master Java Backend Interview: JVM, ClassLoaders, AOP, and More
Tech Freedom Circle
Tech Freedom Circle
Sep 5, 2025 · Interview Experience

How to Diagnose Frequent Full GC in Java Interviews

This article explains the root‑cause analysis and step‑by‑step troubleshooting process for frequent Full GC events in Java applications, covering trigger mechanisms, impact assessment, common causes, monitoring tools, heap‑dump analysis, and both short‑term fixes and long‑term architectural improvements.

Full GCInterviewJVM
0 likes · 47 min read
How to Diagnose Frequent Full GC in Java Interviews
Architecture Digest
Architecture Digest
Sep 3, 2025 · Backend Development

How to Dynamically Load External JARs into Spring Boot at Runtime

This article explains a step‑by‑step approach to load external JAR files into the JVM, configure Spring Boot to recognize the new classes, and choose among classpath expansion, Spring Boot's loader.path, or a custom ClassLoader, complete with Maven settings and code examples.

ClassLoaderDynamic LoadingJVM
0 likes · 8 min read
How to Dynamically Load External JARs into Spring Boot at Runtime
Ubiquitous Tech
Ubiquitous Tech
Aug 24, 2025 · Backend Development

Java Interview Deep Dive: Solving Real‑World Invoice System Challenges

The article walks through a simulated five‑round Java interview where the candidate designs a high‑concurrency invoice‑issuing service, covering gateway architecture, async Kafka processing, cache strategies, JVM thread‑pool and memory tuning, database‑cache coordination, microservice messaging, system design, performance optimization and AI integration, all illustrated with concrete numbers and code snippets.

JVMKafkaMicroservices
0 likes · 35 min read
Java Interview Deep Dive: Solving Real‑World Invoice System Challenges
macrozheng
macrozheng
Aug 22, 2025 · Fundamentals

How Jeandle’s LLVM‑Powered JIT Could Supercharge Java Performance

Jeandle, the new open‑source LLVM‑based JIT compiler released by Ant Group, aims to integrate LLVM’s high‑performance optimizations into the JVM, offering faster execution, future roadmap details, and insights into JIT and LLVM fundamentals for Java developers.

CompilerJVMLLVM
0 likes · 6 min read
How Jeandle’s LLVM‑Powered JIT Could Supercharge Java Performance
Java Backend Technology
Java Backend Technology
Aug 22, 2025 · Backend Development

How Jeandle’s LLVM‑Powered JIT Could Revolutionize Java Performance

Jeandle, the new open‑source LLVM‑based JIT compiler released by Ant Group, aims to boost Java performance by integrating LLVM’s optimization capabilities into the JVM, explaining JIT and LLVM fundamentals, its architecture, and an ambitious roadmap toward full bytecode support and advanced optimizations.

CompilerJVMLLVM
0 likes · 6 min read
How Jeandle’s LLVM‑Powered JIT Could Revolutionize Java Performance
Java Architect Essentials
Java Architect Essentials
Aug 20, 2025 · Backend Development

How to Prevent Java StackOverflow Crashes: Tuning JVM Stack Size and Monitoring Tips

This article explains why JVM stack overflow is a critical issue, illustrates common causes such as uncontrolled recursion and massive thread creation, provides practical stack‑size tuning guidelines, special‑scenario adjustments for SpringBoot and cloud‑native deployments, and outlines diagnostic tools and monitoring metrics to detect and avoid crashes.

JVMStackOverflowjava
0 likes · 6 min read
How to Prevent Java StackOverflow Crashes: Tuning JVM Stack Size and Monitoring Tips
Architect's Guide
Architect's Guide
Aug 20, 2025 · Backend Development

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

This article walks through a systematic, interview‑style guide for sizing and configuring JVM heap, young generation, GC choice, and related parameters to reliably support a platform that processes one million login requests per day on an 8 GB memory node.

Garbage CollectionJVMbackend
0 likes · 24 min read
How to Tune JVM for 1M Daily Logins on an 8GB Server Node
dbaplus Community
dbaplus Community
Aug 18, 2025 · Cloud Native

Why Ubuntu 22.04 Upgrade Crashes Java Apps on Kubernetes: The cgroup v2 Trap

Upgrading a Kubernetes cluster from CentOS 7.9 to Ubuntu 22.04 caused Java pods to crash with OOMKilled errors; increasing memory limits only hid the issue, and the root cause was cgroup v2 making the JVM misinterpret its resource limits, resulting in excessive threads and heap sizes. The article advises upgrading to a JVM that supports cgroup v2 or reverting the node to cgroup v1.

JVMKubernetesOOMKilled
0 likes · 8 min read
Why Ubuntu 22.04 Upgrade Crashes Java Apps on Kubernetes: The cgroup v2 Trap
JD Cloud Developers
JD Cloud Developers
Aug 13, 2025 · Backend Development

Why Do MySQL PhantomReferences Cause Long GC Pauses and How to Fix Them?

This article analyzes frequent timeout alerts caused by the getUiToken API, investigates JVM garbage‑collection pauses linked to excessive PhantomReference objects from MySQL connections, and presents configuration, code, and scheduling solutions that dramatically reduce GC latency and improve service stability.

ConnectionPoolGCJVM
0 likes · 12 min read
Why Do MySQL PhantomReferences Cause Long GC Pauses and How to Fix Them?
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 12, 2025 · Backend Development

Unlock the JVM Method Area: 6 Key Components Every Java Developer Should Know

This article explains the JVM Method Area, its purpose in storing class metadata, constants, static variables and JIT-compiled code, and details its six internal components—including the runtime constant pool, field data, method data, class data, constant data, and compiled code—providing essential knowledge for Java developers and interview preparation.

JVMMemory ManagementMethod Area
0 likes · 3 min read
Unlock the JVM Method Area: 6 Key Components Every Java Developer Should Know
Raymond Ops
Raymond Ops
Aug 6, 2025 · Operations

Step‑by‑Step Guide to Installing and Configuring Elasticsearch 7.10 on CentOS 7

This article provides a comprehensive walkthrough for setting up Elasticsearch 7.10 on a CentOS 7 server, covering environment preparation, installation commands, verification steps, essential configuration of paths, cluster settings, JVM heap, system limits, and best‑practice recommendations for production deployments.

ElasticsearchJVMSystem Settings
0 likes · 26 min read
Step‑by‑Step Guide to Installing and Configuring Elasticsearch 7.10 on CentOS 7
Ops Community
Ops Community
Jul 23, 2025 · Operations

Why Did My JVM Show 900% CPU? Uncovering Container Limit Misconfigurations

An 8‑year ops veteran investigates a night‑time alert showing 900% CPU usage, discovers that a JVM inside a Kubernetes pod misreads host cores while the container is limited to two CPUs, and outlines how improper thread‑pool settings and monitoring metrics caused massive throttling before presenting concrete fixes.

CPU throttlingJVMKubernetes
0 likes · 10 min read
Why Did My JVM Show 900% CPU? Uncovering Container Limit Misconfigurations
Java Captain
Java Captain
Jul 12, 2025 · Operations

Master JVM Tuning: Practical Guide to Setting Memory and GC Parameters

This article walks through essential JVM memory and garbage‑collection settings, explaining each flag—such as -Xms, -Xmx, -XX:NewSize, and GC options—through a concrete example on an 8 GB server, and provides a complete command line configuration for optimal performance and OOM diagnostics.

Garbage CollectionJVMMemory Tuning
0 likes · 7 min read
Master JVM Tuning: Practical Guide to Setting Memory and GC Parameters
Top Architect
Top Architect
Jul 10, 2025 · Backend Development

How Much Heap Memory Does a Single SpringBoot HTTP Request Use? A Practical Experiment

This article shows how a senior architect measured the exact heap memory allocated by individual HTTP and RPC requests in a SpringBoot 2.5.4 application using JMeter load testing and detailed GC logs, revealing that a minimal HTTP call consumes about 34 KB while an RPC call can use up to 1 MB, and discusses the performance implications of payload size and logging.

GCJMeterJVM
0 likes · 11 min read
How Much Heap Memory Does a Single SpringBoot HTTP Request Use? A Practical Experiment
Java Backend Full-Stack
Java Backend Full-Stack
Jul 3, 2025 · Interview Experience

Why the Second Question in My SF Interview Made Me Walk Away

The article shares a detailed SF interview experience, covering typical Java interview questions such as self‑introduction, challenging projects, learning paths, abstract class vs interface, HashMap vs Hashtable, insertion steps, red‑black and B+ trees, MySQL and Redis indexing choices, large‑table optimization, JVM memory model, and the purpose of the Survivor space.

Data StructuresDatabasesHashMap
0 likes · 23 min read
Why the Second Question in My SF Interview Made Me Walk Away
Code Ape Tech Column
Code Ape Tech Column
Jul 3, 2025 · Backend Development

How to Detect and Fix Memory Leaks in Spring Boot Applications

This guide explains the fundamentals of memory leaks in Java, outlines common causes in Spring Boot, and provides step‑by‑step techniques—including GC log analysis, JConsole, VisualVM, MAT, Actuator, custom endpoints, jstack, BTrace, and best‑practice recommendations—to identify, diagnose, and prevent memory leaks for stable long‑running services.

Heap DumpJVMSpring Boot
0 likes · 18 min read
How to Detect and Fix Memory Leaks in Spring Boot Applications
IT Services Circle
IT Services Circle
Jun 30, 2025 · Backend Development

What Makes Java Interviews Tough? A Deep Dive into Concurrency, JVM, MySQL, and More

This article analyzes 58.com’s recent business struggles and layoffs, then presents a comprehensive set of Java interview questions covering synchronized vs. Lock, JVM memory layout, garbage collection, TCP connection teardown, MySQL indexing pitfalls, and common sorting algorithms, providing detailed explanations and code examples.

InterviewJVMMySQL
0 likes · 18 min read
What Makes Java Interviews Tough? A Deep Dive into Concurrency, JVM, MySQL, and More
Programmer1970
Programmer1970
Jun 30, 2025 · Fundamentals

How Do Java Annotations Work Inside the JVM? From Compile‑time to Runtime Proxies

The article explains the complete lifecycle of Java annotations, covering how the compiler represents them in the AST, how retention policies affect bytecode generation, how the JVM parses annotation attributes during class loading, and how dynamic proxy objects are created and used at runtime, with concrete Spring framework examples.

Dynamic ProxyJVMSpring
0 likes · 12 min read
How Do Java Annotations Work Inside the JVM? From Compile‑time to Runtime Proxies
Java Tech Enthusiast
Java Tech Enthusiast
Jun 28, 2025 · Backend Development

Mastering Java Interviews: HashMap, ConcurrentHashMap, JVM GC, and SQL Tricks

This article shares a real HSBC interview experience and provides in‑depth explanations of Java HashMap internals, ConcurrentHashMap locking mechanisms, differences between synchronized and ReentrantLock, JVM garbage‑collection nuances, memory‑overflow causes, and practical SQL queries for extracting top scores.

ConcurrentHashMapHashMapJVM
0 likes · 13 min read
Mastering Java Interviews: HashMap, ConcurrentHashMap, JVM GC, and SQL Tricks
macrozheng
macrozheng
Jun 26, 2025 · Operations

Master JVM Performance: Visual Tools, JConsole, VisualVM & Arthas Guide

This guide introduces JVM performance monitoring by explaining built‑in tools like JConsole and VisualVM, showcasing third‑party solutions such as Arthas, and providing step‑by‑step commands and screenshots to help developers quickly visualize and troubleshoot Java applications.

ArthasJConsoleJVM
0 likes · 12 min read
Master JVM Performance: Visual Tools, JConsole, VisualVM & Arthas Guide
Architect's Must-Have
Architect's Must-Have
Jun 18, 2025 · Backend Development

How to Dynamically Load External JARs into Spring Boot at Runtime

This guide explains step‑by‑step how to load external JAR files into the JVM, configure Spring Boot to recognize them, and choose among four practical solutions—including classpath expansion, Spring Boot loader.path, custom class loaders, and JVM boot classpath tweaks—while highlighting their pros, cons, and required Maven settings.

Class LoadingCustom ClassLoaderJVM
0 likes · 10 min read
How to Dynamically Load External JARs into Spring Boot at Runtime
DaTaobao Tech
DaTaobao Tech
Jun 18, 2025 · Backend Development

How to Eliminate GC Pauses in High‑QPS Java Services: A Step‑by‑Step JVM Tuning Guide

This article investigates a high‑concurrency Java service that suffers from long GC pauses during large index swaps, identifies YGC Object Copy as the root cause, and presents a series of JVM tuning techniques—including MaxTenuringThreshold, InitialTenuringThreshold, AlwaysTenure, G1HeapRegionSize, ZGC, and an Eden‑preheat strategy—to achieve near‑zero service disruption and 99.995% success rate.

GC TuningJVMZGC
0 likes · 20 min read
How to Eliminate GC Pauses in High‑QPS Java Services: A Step‑by‑Step JVM Tuning Guide
Programmer1970
Programmer1970
Jun 17, 2025 · Fundamentals

Why Does Full GC Happen Frequently in the JVM? Common Scenarios and Fixes

Full GC pauses all application threads and degrades performance; this article explains frequent Full GC causes such as memory leaks, large object allocation, old‑generation and metaspace shortages, and mis‑configured JVM parameters, and provides concrete detection tools and optimization strategies for each garbage collector.

Full GCGC TuningGarbage Collection
0 likes · 8 min read
Why Does Full GC Happen Frequently in the JVM? Common Scenarios and Fixes
IT Services Circle
IT Services Circle
Jun 15, 2025 · Backend Development

How to Diagnose and Fix JVM GC Pauses in High‑Concurrency Microservices

This article walks through a real‑world production case, detailing how to systematically detect, analyze, and resolve severe JVM garbage‑collection pauses in a high‑concurrency Spring Boot microservice, covering resource analysis, JVM flag tuning, G1GC migration, JMX listeners, and GC‑log investigation.

G1GCGarbage CollectionJVM
0 likes · 16 min read
How to Diagnose and Fix JVM GC Pauses in High‑Concurrency Microservices
21CTO
21CTO
Jun 10, 2025 · Backend Development

Unlock Java Performance: How JIT and Tiered Compilation Supercharge Your Apps

This article explains how Java's Just‑In‑Time (JIT) compilation and tiered (layered) compilation work together to transform bytecode into native code, improve runtime performance, balance startup speed, and offers practical configuration tips for fine‑tuning JVM behavior.

GraalVMHotSpotJVM
0 likes · 10 min read
Unlock Java Performance: How JIT and Tiered Compilation Supercharge Your Apps
IT Services Circle
IT Services Circle
Jun 10, 2025 · Backend Development

Master TP-Link Backend Interview: JVM, GC, Synchronization, and Redis Cache Strategies

The article shares a personal experience of TP-Link's early campus recruitment and salary expectations, then provides a comprehensive Java backend interview guide covering class‑loader delegation, JVM memory layout, garbage‑collector types, synchronized lock mechanics, and common Redis cache pitfalls with practical solutions.

Garbage CollectionJVMRedis
0 likes · 18 min read
Master TP-Link Backend Interview: JVM, GC, Synchronization, and Redis Cache Strategies
Lobster Programming
Lobster Programming
Jun 9, 2025 · Fundamentals

Why JVM Uses Two Survivor Spaces: Boosting GC Efficiency and Memory Utilization

JVM’s generational garbage collection divides the heap into young and old generations, using two Survivor spaces to incrementally age objects, apply a copying algorithm, reduce fragmentation, improve memory utilization, and accelerate short‑lived object reclamation, ultimately enhancing overall GC performance.

Generational GCJVMSurvivor Space
0 likes · 4 min read
Why JVM Uses Two Survivor Spaces: Boosting GC Efficiency and Memory Utilization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 4, 2025 · Backend Development

Understanding Java Locks, synchronized, ReentrantLock, and Kotlin Coroutine Synchronization

This article explains Java's lock mechanisms—including synchronized, ReentrantLock, and their JVM implementations—covers lock classifications, memory barriers, CAS, and compares them with Kotlin coroutine synchronization tools like Mutex, providing code examples and practical guidance for safe concurrent programming.

CoroutinesJVMKotlin
0 likes · 22 min read
Understanding Java Locks, synchronized, ReentrantLock, and Kotlin Coroutine Synchronization
Raymond Ops
Raymond Ops
Jun 2, 2025 · Operations

Mastering Java JVM Tuning: Essential Commands, GC Strategies, and Reference Types

This guide explains how to launch Java processes from the command line, details key JVM tuning flags such as -X and -XX options, describes garbage collection algorithms, reference strengths, and stop‑the‑world pauses, providing practical examples and diagrams to help developers optimize memory usage and performance.

Garbage CollectionJVMMemory Tuning
0 likes · 14 min read
Mastering Java JVM Tuning: Essential Commands, GC Strategies, and Reference Types
Su San Talks Tech
Su San Talks Tech
May 24, 2025 · Backend Development

12 Proven SpringBoot Performance Hacks to Boost Your API Speed

Discover twelve practical SpringBoot performance optimization techniques—from connection pool tuning and JVM memory settings to caching, async processing, and full‑stack monitoring—each illustrated with code snippets and actionable guidance to prevent full‑table scans, OOM errors, and latency spikes in high‑traffic applications.

JVMMonitoringSpringBoot
0 likes · 13 min read
12 Proven SpringBoot Performance Hacks to Boost Your API Speed
FunTester
FunTester
May 23, 2025 · Operations

Mastering JVM Thread Dumps: From Diagnosis to Kubernetes Automation

This article explains what JVM thread dumps are, why they are crucial for fault testing, outlines common scenarios such as deadlocks and resource leaks, and provides step‑by‑step methods—including jstack, kill‑3, VisualVM, programmatic APIs, and Fabric8‑driven Kubernetes automation—to capture and analyze them effectively.

DebuggingFabric8JVM
0 likes · 15 min read
Mastering JVM Thread Dumps: From Diagnosis to Kubernetes Automation
Programmer DD
Programmer DD
May 15, 2025 · Backend Development

Boost Spring Boot Performance 3× with JVM Tuning: Practical Parameters

After caching, indexing, and async optimizations still leave a Spring Boot REST API sluggish, this guide shows how fine‑tuning JVM options—such as enabling G1GC, adjusting pause targets, compressing class metadata, shrinking thread stacks, and pre‑touching memory—can triple response speed without changing application code.

G1GCJVMSpring Boot
0 likes · 7 min read
Boost Spring Boot Performance 3× with JVM Tuning: Practical Parameters
Alibaba Cloud Developer
Alibaba Cloud Developer
May 15, 2025 · Operations

Eliminating GC Pauses: Achieving 99.995% Uptime in a 100k QPS Java Service

Facing frequent timeouts in a high‑throughput Java service, we traced instability to long GC pauses during massive index swaps, then systematically tuned JVM parameters, explored G1, ZGC, and custom Eden‑pre‑heating techniques, ultimately achieving near‑perfect availability without adding hardware.

Garbage CollectionJVMhigh concurrency
0 likes · 23 min read
Eliminating GC Pauses: Achieving 99.995% Uptime in a 100k QPS Java Service
Cognitive Technology Team
Cognitive Technology Team
May 13, 2025 · Fundamentals

An Introduction to SootUp: Static Analysis of JVM Code

This article introduces the SootUp library, explains how to configure its Maven dependencies, describes the Jimple intermediate representation, and demonstrates how to use SootUp's API to analyze Java source code, bytecode, and method bodies through a series of code examples.

BytecodeJVMJimple
0 likes · 14 min read
An Introduction to SootUp: Static Analysis of JVM Code
Java One
Java One
May 4, 2025 · Fundamentals

How Does Java Execution Differ from C? A 3‑Minute JVM Deep Dive

This article compares the compilation and runtime processes of C and Java programs, explains Java's class loading, linking, initialization, memory layout, execution engine components, and native interface, and highlights why Java startup is slower than native C execution.

ClassLoaderCompilationJVM
0 likes · 16 min read
How Does Java Execution Differ from C? A 3‑Minute JVM Deep Dive
Java Captain
Java Captain
May 2, 2025 · Fundamentals

Understanding Java Concurrency: Challenges and Solutions from Hardware to JVM

This article uses real‑world analogies to dissect the three core challenges of Java concurrency—ordering, visibility, and atomicity—and explains how hardware instructions, JVM mechanisms, and Java SDK tools such as locks, CAS, and waiting/notification utilities provide efficient solutions.

CASJVMLocks
0 likes · 14 min read
Understanding Java Concurrency: Challenges and Solutions from Hardware to JVM
IT Services Circle
IT Services Circle
Apr 29, 2025 · Backend Development

Understanding JVM Garbage Collection Mechanisms for Interviews

This article humorously introduces a common interview scenario and then provides a comprehensive overview of JVM garbage collection, covering memory regions, GC roots, collector types like ParNew, G1, CMS, tuning parameters, code examples, and practical tips for diagnosing and optimizing GC behavior.

Garbage CollectionJVMjava
0 likes · 8 min read
Understanding JVM Garbage Collection Mechanisms for Interviews
JD Tech Talk
JD Tech Talk
Apr 29, 2025 · Backend Development

Understanding Java ShutdownHook: Principles, Implementation, and Use Cases

This article explains the concept of Java's Runtime.addShutdownHook, details its underlying implementation in the Runtime and ApplicationShutdownHooks classes, demonstrates usage with code examples, discusses typical application scenarios, potential risks of long‑running hooks, and provides best‑practice recommendations for safe JVM shutdown handling.

JVMRuntimeShutdownHook
0 likes · 7 min read
Understanding Java ShutdownHook: Principles, Implementation, and Use Cases
JD Cloud Developers
JD Cloud Developers
Apr 29, 2025 · Backend Development

How to Safely Use Java Shutdown Hooks to Clean Up Resources on JVM Exit

This article explains the purpose and inner workings of Java's Runtime.addShutdownHook, walks through the Runtime and ApplicationShutdownHooks source code, demonstrates practical usage with examples, discusses common scenarios, potential risks, and best‑practice solutions for reliable resource cleanup during JVM shutdown.

JVMShutdownHookbackend
0 likes · 9 min read
How to Safely Use Java Shutdown Hooks to Clean Up Resources on JVM Exit
Programmer XiaoFu
Programmer XiaoFu
Apr 22, 2025 · Backend Development

Common Java OOM Types and How to Answer Interview Questions

The article lists the most frequent Java OutOfMemoryError variants, explains their root causes and typical scenarios, provides concrete code examples that trigger each error, and offers practical troubleshooting steps and JVM tuning recommendations for interview preparation.

JVMMemoryMetaspace
0 likes · 8 min read
Common Java OOM Types and How to Answer Interview Questions
dbaplus Community
dbaplus Community
Apr 19, 2025 · Fundamentals

Why Thread.sleep(0) Can Influence GC: Uncovering JVM Safepoint Tricks

This article explores the puzzling "prevent gc" comment in RocketMQ source code, explains how Thread.sleep(0) interacts with JVM safepoints, distinguishes counted and uncounted loops, and demonstrates practical experiments that reveal why altering loop variables can change GC behavior.

GCJVMRocketMQ
0 likes · 12 min read
Why Thread.sleep(0) Can Influence GC: Uncovering JVM Safepoint Tricks
Top Architect
Top Architect
Apr 10, 2025 · Backend Development

Measuring Heap Memory Consumption of HTTP and RPC Requests in Spring Boot

The article presents a Spring Boot experiment measuring per‑request heap memory usage for HTTP and RPC calls, details the JMeter test setup, analyzes GC logs, reports findings such as ~34KB per HTTP request and 0.5‑1MB per RPC request, offers optimization recommendations, and also includes promotional material for AI‑related products.

JVMPerformance TestingSpring Boot
0 likes · 11 min read
Measuring Heap Memory Consumption of HTTP and RPC Requests in Spring Boot
Cognitive Technology Team
Cognitive Technology Team
Apr 9, 2025 · Backend Development

Understanding java.lang.OutOfMemoryError: Metaspace and How to Resolve It

java.lang.OutOfMemoryError: Metaspace occurs when the JVM's native Metaspace exceeds its configured limit, often due to excessive dynamic class generation, large numbers of loaded classes or classloader leaks, and can be mitigated by increasing Metaspace size, fixing memory leaks, and optimizing class loading.

JVMMemory ManagementMetaspace
0 likes · 5 min read
Understanding java.lang.OutOfMemoryError: Metaspace and How to Resolve It
Cognitive Technology Team
Cognitive Technology Team
Apr 6, 2025 · Backend Development

Understanding Java Virtual Threads: Construction, Performance, and Best Practices

This article explains Java virtual threads introduced by Project Loom, compares them with platform threads in terms of memory usage and creation time, provides code examples for creating and managing virtual threads, and outlines practical guidelines and use‑cases for high‑concurrency backend applications.

JVMVirtual Threadsconcurrency
0 likes · 12 min read
Understanding Java Virtual Threads: Construction, Performance, and Best Practices
FunTester
FunTester
Apr 6, 2025 · Backend Development

Understanding Java ClassLoader: Common Issues, Root Causes, and Solutions

This article explains Java's dynamic ClassLoader mechanism, outlines the hierarchy of built‑in loaders, details frequent problems such as ClassNotFoundException, NoClassDefFoundError, ClassCastException and version conflicts, and provides practical troubleshooting steps and best‑practice recommendations for reliable class loading.

ClassLoaderCustomClassLoaderDebugging
0 likes · 10 min read
Understanding Java ClassLoader: Common Issues, Root Causes, and Solutions
Cognitive Technology Team
Cognitive Technology Team
Apr 5, 2025 · Fundamentals

Understanding Java ClassLoader.loadClass() API and Its Performance Impact

This article explains how the java.lang.ClassLoader#loadClass() API works, why frequent concurrent calls can cause thread blocking due to internal synchronization, demonstrates the issue with a sample multithreaded program, analyzes thread‑dump data, and provides practical solutions to mitigate the performance problem.

ClassLoaderJVMThreadBlocking
0 likes · 12 min read
Understanding Java ClassLoader.loadClass() API and Its Performance Impact
Su San Talks Tech
Su San Talks Tech
Mar 28, 2025 · Backend Development

Unlocking Java’s Synchronized: How the JVM Implements Locks

This article explains the low‑level implementation of Java's synchronized keyword, covering monitorenter/monitorexit bytecode, object header structures, Mark Word layouts, and the evolution from heavyweight locks to biased and lightweight locks with lock‑upgrade mechanisms.

JVMLockconcurrency
0 likes · 11 min read
Unlocking Java’s Synchronized: How the JVM Implements Locks
Cognitive Technology Team
Cognitive Technology Team
Mar 27, 2025 · Fundamentals

Understanding Tiered Compilation in the JVM

This article explains the JVM's tiered compilation mechanism, detailing the client (C1) and server (C2) JIT compilers, the five compilation levels, code cache organization, relevant JVM flags, and demonstrates method compilation lifecycle through illustrative Java code examples and log analysis.

Compilation LevelsJVMTiered Compilation
0 likes · 13 min read
Understanding Tiered Compilation in the JVM
Java Tech Enthusiast
Java Tech Enthusiast
Mar 19, 2025 · Backend Development

Java Backend Interview Topics: Thread‑Safe Collections, JVM Memory, Optimistic Lock, Caching, and More

The article reviews key Java backend interview topics—including thread‑safe collections, JVM memory layout and heap tuning, Full GC troubleshooting, Java 8 features, optimistic locking, stock‑over‑sell handling with Redis, MySQL scaling, cache‑consistency patterns, anti‑bot safeguards, and Bloom filters—while noting JD’s recent 30% salary hike for algorithm engineers.

JVMbackendconcurrency
0 likes · 22 min read
Java Backend Interview Topics: Thread‑Safe Collections, JVM Memory, Optimistic Lock, Caching, and More
Lobster Programming
Lobster Programming
Mar 19, 2025 · Fundamentals

Handle vs Direct Pointer Access in the JVM: Which Is Faster?

An in‑depth look at how the JVM stores object references, comparing handle‑based access with direct pointer access, highlighting their performance trade‑offs, memory overhead, and impact on garbage collection to help developers choose the most suitable approach for their applications.

JVMMemory Managementdirect pointer
0 likes · 3 min read
Handle vs Direct Pointer Access in the JVM: Which Is Faster?
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 17, 2025 · Backend Development

JVM Parameter Tuning for a Platform Handling 1 Million Daily Login Requests on an 8 GB Service Node

This article explains how to size and configure JVM options—including heap size, young generation, GC algorithm, thread stack, and metaspace—for a backend service that processes one million login requests per day on an 8 GB machine, providing step‑by‑step calculations, practical examples, and optimization tips.

Garbage CollectionJVMMemory Management
0 likes · 24 min read
JVM Parameter Tuning for a Platform Handling 1 Million Daily Login Requests on an 8 GB Service Node
Practical DevOps Architecture
Practical DevOps Architecture
Mar 14, 2025 · Backend Development

Comprehensive Java Senior Engineer Curriculum: Architecture Design, System Optimization, and Advanced Topics

This curriculum outlines a 25‑week advanced Java engineering program covering performance optimization, JVM internals, concurrency, distributed storage, MySQL and NoSQL databases, Docker, Kubernetes, microservices, Spring framework deep dives, Nginx, Elasticsearch, Redis, messaging systems, CI/CD tools, and hands‑on project implementation to build high‑performance, scalable backend systems.

DockerJVMKubernetes
0 likes · 3 min read
Comprehensive Java Senior Engineer Curriculum: Architecture Design, System Optimization, and Advanced Topics
Code Ape Tech Column
Code Ape Tech Column
Mar 13, 2025 · Backend Development

Understanding CRaC: Fast JVM Startup with Checkpoint/Restore

This article explains the CRaC (Coordinated Restore at Checkpoint) technology for Java applications, describing its principles, supported environments, practical steps for enabling it with Spring Boot, and use‑case scenarios that dramatically reduce JVM startup time.

CRaCJVMLinux
0 likes · 9 min read
Understanding CRaC: Fast JVM Startup with Checkpoint/Restore
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Mar 12, 2025 · Backend Development

What Are GC Roots? Understanding JVM Garbage Collection Basics

The article explains the concept of GC Roots in the JVM, detailing the four main types—stack variables, static fields, constant pool references, and JNI references—along with code examples, and describes how these roots determine object liveness during garbage collection.

GC RootsGarbage CollectionJVM
0 likes · 7 min read
What Are GC Roots? Understanding JVM Garbage Collection Basics
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Mar 11, 2025 · Backend Development

Master Java Garbage Collection: Mark‑Sweep, Copying, Compact & Generational Algorithms

This article explains the main Java garbage collection algorithms—Mark‑Sweep, Mark‑Copying, Mark‑Compact, and Generational Collection—detailing their principles, advantages, and drawbacks, helping developers choose the appropriate strategy for efficient memory management in backend applications.

AlgorithmsGarbage CollectionJVM
0 likes · 5 min read
Master Java Garbage Collection: Mark‑Sweep, Copying, Compact & Generational Algorithms
Cognitive Technology Team
Cognitive Technology Team
Mar 9, 2025 · Fundamentals

Understanding Java Class Loading: Uniqueness, Diversity, and Best Practices

This article explains the core principles of Java class loading, including the uniqueness of Class objects per ClassLoader, various loading sources such as dynamic generation, network, ZIP archives, and databases, the lifecycle stages, delegation model, isolation, and practical recommendations for safe and efficient deployment.

Class LoadingJVMfundamentals
0 likes · 7 min read
Understanding Java Class Loading: Uniqueness, Diversity, and Best Practices
Java Tech Enthusiast
Java Tech Enthusiast
Mar 3, 2025 · Fundamentals

Choosing Between int and String for Storing Phone Numbers in Java

Because phone numbers are identifiers that can contain symbols and exceed the numeric range of an int, storing them as a String—despite higher memory use—is semantically correct, avoids overflow, preserves formatting, and benefits from JVM string pooling, making String the preferred type in most Java applications.

Data TypesJVMint
0 likes · 7 min read
Choosing Between int and String for Storing Phone Numbers in Java