Tagged articles

JVM

1071 articles · Page 9 of 11
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 5, 2020 · Fundamentals

Understanding JVM Runtime Data Areas and Memory Management

This article provides a comprehensive overview of the Java Virtual Machine's runtime data areas—including the program counter, JVM stack, native method stack, heap, and method area—explaining their structures, lifecycles, related JVM flags, garbage‑collection strategies, TLAB, and escape‑analysis optimizations.

Garbage CollectionJVMMemory Management
0 likes · 42 min read
Understanding JVM Runtime Data Areas and Memory Management
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 30, 2020 · Fundamentals

Understanding Java Garbage Collection: Goals, Algorithms, and Timing

This article explains Java garbage collection by outlining its purpose, the criteria for reclaimable objects through reference counting and reachability analysis, when collection occurs, and the main GC algorithms—including mark‑sweep, copying, mark‑compact, and generational collection—along with common JVM collectors.

GC AlgorithmsGarbage CollectionJVM
0 likes · 9 min read
Understanding Java Garbage Collection: Goals, Algorithms, and Timing
Java Captain
Java Captain
Jun 25, 2020 · Fundamentals

Understanding Java Increment Operators and JVM Stack Frame Behavior

This article explains how Java's post‑ and pre‑increment operators affect variable values by tracing each statement through the JVM's stack frame, local variable table, and operand stack, and demonstrates the resulting values of i, j, and k with detailed diagrams and code examples.

JVMProgramming Fundamentalsincrement operators
0 likes · 4 min read
Understanding Java Increment Operators and JVM Stack Frame Behavior
FunTester
FunTester
Jun 25, 2020 · Fundamentals

Mastering JDK8 Garbage Collection: Visual Cheat Sheet and Tuning Guide

This article presents a comprehensive overview of JDK8's garbage collection mechanisms, detailing memory regions, available collectors, key tuning parameters, thread settings, and practical commands, complemented by eight illustrative diagrams and a downloadable PDF cheat sheet for quick reference.

GC TuningGarbage CollectionJDK8
0 likes · 7 min read
Mastering JDK8 Garbage Collection: Visual Cheat Sheet and Tuning Guide
Architect's Tech Stack
Architect's Tech Stack
Jun 24, 2020 · Fundamentals

How Java Objects Are Created and Managed in the JVM

This article explains the JVM's process for creating Java objects, covering class loading checks, memory allocation strategies such as bump‑the‑pointer and free‑list, object header composition, instance data layout, alignment padding, and the ways references locate objects via handles or direct pointers.

JVMObject CreationThread Local Allocation Buffer
0 likes · 7 min read
How Java Objects Are Created and Managed in the JVM
Top Architect
Top Architect
Jun 22, 2020 · Fundamentals

Understanding the Seven Stages of Java Class Loading and Initialization

This article explains the seven stages of Java class loading—Loading, Verification, Preparation, Resolution, Initialization, Using, and Unloading—detailing each step, the underlying mechanisms, code examples, and practical considerations such as class initialization triggers and the distinction between symbolic and direct references.

BytecodeClass LoadingInitialization
0 likes · 14 min read
Understanding the Seven Stages of Java Class Loading and Initialization
Programmer DD
Programmer DD
Jun 13, 2020 · Fundamentals

Mastering Java Garbage Collection: Goals, Tuning, and Collector Choices

This article explains Java HotSpot VM garbage‑collection ergonomics, detailing pause‑time and throughput goals, generational collection mechanics, default heap sizing, and how to select and tune Serial, Parallel, G1, and ZGC collectors for optimal performance.

G1 GCGC ErgonomicsGarbage Collection
0 likes · 32 min read
Mastering Java Garbage Collection: Goals, Tuning, and Collector Choices
Selected Java Interview Questions
Selected Java Interview Questions
Jun 12, 2020 · Fundamentals

Deep Dive into Java ClassLoader, Class Loading Process, and the Parent‑Delegation Model

This article explains when and how Java classes are loaded, details the JVM's ClassLoader implementation—including the native defineClass1 method, InstanceKlass creation, SystemDictionary registration, and parallel loading locks—then demonstrates breaking the parent‑delegation model with a custom ClassLoader and discusses practical usage scenarios.

Class LoadingClassLoaderJVM
0 likes · 18 min read
Deep Dive into Java ClassLoader, Class Loading Process, and the Parent‑Delegation Model
Sohu Tech Products
Sohu Tech Products
Jun 10, 2020 · Fundamentals

Using JMH for Java Microbenchmarking: A Comprehensive Guide

This article introduces JMH, explains how to add dependencies, write and run microbenchmarks for string concatenation, describes key annotations, highlights common pitfalls, and shows how to package, visualize, and integrate JMH benchmarks within Java projects.

BenchmarkingJMHJVM
0 likes · 14 min read
Using JMH for Java Microbenchmarking: A Comprehensive Guide
Senior Brother's Insights
Senior Brother's Insights
Jun 3, 2020 · Backend Development

How We Traced and Fixed Excessive Native Memory Usage After Migrating to Spring Boot

After moving a project to Spring Boot, the system reported unusually high swap usage despite a 4 GB heap, prompting a detailed investigation using JVM native‑memory tracking, pmap, gperftools, strace, and GDB, which ultimately identified Spring Boot’s JAR scanning and glibc memory arenas as the root causes and led to a configuration fix and an upgrade to resolve the off‑heap memory leak.

JVMLinuxNative Memory
0 likes · 11 min read
How We Traced and Fixed Excessive Native Memory Usage After Migrating to Spring Boot
Xianyu Technology
Xianyu Technology
Jun 2, 2020 · Backend Development

Diagnosing and Resolving Random JVM Hang Issues in a High-Concurrency Application

The article outlines a six‑step method for diagnosing sporadic JVM hangs in a high‑concurrency Xianyu service—starting with code review, live state capture, I/O checks, lock analysis, resource‑exhaustion assessment, and finally framework thread‑pool tuning—to uncover lost‑lock behavior and severe thread‑pool imbalance that cause prolonged lock waits despite low CPU load.

DebuggingJVMLock Analysis
0 likes · 12 min read
Diagnosing and Resolving Random JVM Hang Issues in a High-Concurrency Application
Programmer DD
Programmer DD
May 22, 2020 · Backend Development

Can ZGC Deliver Sub‑10ms Pauses for Massive Java Heaps?

This article explains the design goals, architecture, key features, tuning options, and version history of Java's Z Garbage Collector (ZGC), highlighting its sub‑10 ms pause times for terabyte‑scale heaps, its use of colored pointers and load barriers, and the trade‑offs in throughput and configuration.

Garbage CollectionJVMZGC
0 likes · 16 min read
Can ZGC Deliver Sub‑10ms Pauses for Massive Java Heaps?
Top Architect
Top Architect
May 21, 2020 · Backend Development

Comprehensive Guide to Java Application Performance Optimization and Diagnosis

This article provides an in‑depth overview of Java application performance optimization, covering a four‑layer model (application, database, framework, JVM), on‑site and post‑mortem analysis methods, OS and JVM diagnostic tools, common code and GC issues, database deadlock handling, and practical tuning recommendations.

GCJVMMonitoring
0 likes · 23 min read
Comprehensive Guide to Java Application Performance Optimization and Diagnosis
macrozheng
macrozheng
May 21, 2020 · Fundamentals

How Adjusting IntelliJ IDEA Memory Settings Boosts IDE Performance

This article reports a systematic experiment that compares four IntelliJ IDEA memory configurations on a large Java monolith and two micro‑services, measuring startup, project loading times and JVM garbage‑collection metrics with jstat to identify the most efficient setting.

IDE performanceIntelliJ IDEAJVM
0 likes · 11 min read
How Adjusting IntelliJ IDEA Memory Settings Boosts IDE Performance
Java Captain
Java Captain
May 20, 2020 · Fundamentals

Why Setting Unused Objects to null May Not Help Java Garbage Collection

This article explains, with concrete Java examples and JVM runtime‑stack analysis, why manually assigning null to objects that are out of scope does not always trigger earlier garbage collection, and how stack slot reuse can achieve the same effect without relying on a questionable practice.

Garbage CollectionJVMMemory Management
0 likes · 8 min read
Why Setting Unused Objects to null May Not Help Java Garbage Collection
Top Architect
Top Architect
May 7, 2020 · Backend Development

Comprehensive Guide to Java Application Performance Optimization and Diagnosis

This article presents a thorough overview of Java application performance optimization, covering a four‑layer model (application, database, framework, JVM), practical OS and Java diagnostic tools, JVM and GC tuning, application‑level code improvements, and database deadlock mitigation strategies.

JVMdatabase tuningdiagnostics
0 likes · 21 min read
Comprehensive Guide to Java Application Performance Optimization and Diagnosis
FunTester
FunTester
May 5, 2020 · Backend Development

Mastering Arthas Redefine: Live Java Class Hot‑Update Made Simple

This article explains how Arthas's redefine command enables hot‑updating of Java classes at runtime, outlines scenarios where redefinition fails, offers tips for uploading compiled .class files, and provides a concrete code example demonstrating the process.

ArthasDebuggingJVM
0 likes · 3 min read
Mastering Arthas Redefine: Live Java Class Hot‑Update Made Simple
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
May 4, 2020 · Backend Development

Master Tomcat: Memory, Concurrency, Compression & Security Tuning Guide

This guide explains Tomcat’s role as a lightweight web server, details the required runtime environment, and provides step‑by‑step configurations for memory allocation, JVM options, connector concurrency, gzip compression, caching, security hardening, database connection pooling, and additional performance tweaks.

JVMOptimizationperformance
0 likes · 11 min read
Master Tomcat: Memory, Concurrency, Compression & Security Tuning Guide
转转QA
转转QA
Apr 30, 2020 · Backend Development

Introducing JVM SandBox for Exception Injection Testing

This article explains how to use JVM SandBox, a non‑intrusive Java Agent‑based tool, to dynamically attach to a running JVM and inject exceptions at specific method call points, enabling comprehensive exception testing for server, dependency, and application failures.

Exception InjectionJVMSandbox
0 likes · 8 min read
Introducing JVM SandBox for Exception Injection Testing
FunTester
FunTester
Apr 23, 2020 · Operations

Mastering Arthas Thread Command for Deep Java Performance Insights

This article explains how the Arthas thread command can reveal detailed JVM thread information—including states, CPU usage, stack traces, and lock status—and provides a practical code demo to help Java developers monitor and diagnose performance issues effectively.

ArthasJVMThread analysis
0 likes · 4 min read
Mastering Arthas Thread Command for Deep Java Performance Insights
Top Architect
Top Architect
Apr 20, 2020 · Backend Development

Diagnosing and Resolving Native Memory Leak in Spring Boot Applications

This article details a step‑by‑step investigation of excessive native memory usage in a Spring Boot service, explaining how JVM tools, system tracers, and custom allocators revealed that the default MCC package scanner and Inflater implementation caused a hidden memory leak that was fixed by configuring scan paths and upgrading Spring Boot.

JVMLinuxSpring Boot
0 likes · 12 min read
Diagnosing and Resolving Native Memory Leak in Spring Boot Applications
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 18, 2020 · Backend Development

Understanding How new String Creates Objects and the Role of the String Constant Pool in Java

This article explains why the new String("xxx") expression may create one or two objects depending on the presence of the literal in the JVM's string constant pool, demonstrates the behavior with compiled bytecode and runtime examples, and clarifies common interview misconceptions about Java string object creation.

Constant PoolJVMObject Creation
0 likes · 12 min read
Understanding How new String Creates Objects and the Role of the String Constant Pool in Java
Java Architect Essentials
Java Architect Essentials
Apr 17, 2020 · Fundamentals

Comprehensive Java JVM Interview Guide: Architecture, Memory, GC, Class Loading, and Optimization

This article provides an extensive overview of Java Virtual Machine fundamentals for interview preparation, covering JVM components, runtime data areas, heap vs. stack memory, garbage collection mechanisms, algorithms, collectors, memory allocation strategies, class loading processes, and tuning tools.

Class LoadingGarbage CollectionJVM
0 likes · 31 min read
Comprehensive Java JVM Interview Guide: Architecture, Memory, GC, Class Loading, and Optimization
21CTO
21CTO
Apr 12, 2020 · Backend Development

What I Learned from 20+ Java Backend Interviews: Questions, Answers, and Tips

The author, a 985‑master’s graduate, shares a detailed chronicle of her preparation and interview experiences across dozens of Chinese tech giants, listing the technical questions asked—ranging from Java fundamentals, JVM internals, concurrency, data structures, design patterns, to system design—and offering practical advice for future candidates.

AlgorithmsJVMbackend
0 likes · 11 min read
What I Learned from 20+ Java Backend Interviews: Questions, Answers, and Tips
Java Captain
Java Captain
Apr 3, 2020 · Backend Development

SpringBoot Project Optimization: Configuration Files and JVM Tuning

This article explains how to optimize a SpringBoot application by adjusting Tomcat settings in the application.properties file, tuning JVM parameters with examples, and demonstrates two practical methods—IDE configuration and command‑line scripts—to improve performance and resource usage.

ConfigurationJVMSpringBoot
0 likes · 6 min read
SpringBoot Project Optimization: Configuration Files and JVM Tuning
FunTester
FunTester
Apr 3, 2020 · Fundamentals

JVM Memory Model, GC Log Analysis, and Production Parameter Optimization

This article examines production JVM memory architecture, explains GC log generation and analysis, details the ParNew + CMS collector behavior, and provides practical parameter tuning recommendations to optimize heap size, young generation, and garbage collection for stable Java applications in production environments.

Garbage CollectionJVMMemory Management
0 likes · 10 min read
JVM Memory Model, GC Log Analysis, and Production Parameter Optimization
Top Architect
Top Architect
Apr 1, 2020 · Backend Development

How to Prepare for Java Junior and Senior Technical Interviews

Preparing thoroughly for Java junior and senior technical interviews requires covering core Java concepts, Spring and Spring Boot frameworks, database fundamentals, multithreading, JVM internals, and architectural knowledge, while practicing problem‑solving and understanding interviewers' expectations to increase success chances.

InterviewJVMSpring
0 likes · 10 min read
How to Prepare for Java Junior and Senior Technical Interviews
FunTester
FunTester
Apr 1, 2020 · Backend Development

Mastering JVM Performance: 6 Essential Parameters and GC Tuning Tips

Learn how to optimize Java applications by configuring six critical JVM parameters—including heap size, Metaspace limits, GC algorithm selection, logging, heap dumps, thread stack size, and network timeouts—while understanding their impact on performance, memory usage, and troubleshooting common out‑of‑memory issues.

Garbage CollectionHeap DumpJVM
0 likes · 9 min read
Mastering JVM Performance: 6 Essential Parameters and GC Tuning Tips
Architect's Tech Stack
Architect's Tech Stack
Mar 31, 2020 · Backend Development

Investigation of Excessive Native Memory Usage in a Spring Boot Application

This article details a step‑by‑step investigation of unusually high native memory consumption in a Spring Boot service, covering JVM configuration, system‑level diagnostics with jcmd, pmap, gperftools, strace, GDB, and jstack, and explains how the MCC component’s default package scanning caused the leak and how configuring scan paths or upgrading Spring Boot resolved the issue.

JVMLinux toolsNative Memory
0 likes · 11 min read
Investigation of Excessive Native Memory Usage in a Spring Boot Application
JavaEdge
JavaEdge
Mar 31, 2020 · Fundamentals

How to Pick the Best Java HotSpot GC: Serial, Parallel, CMS, G1 & ZGC

This guide compares the major HotSpot JVM garbage collectors—including Serial, ParNew, Parallel Scavenge, Parallel Old, CMS, G1, and ZGC—explaining their algorithms, threading models, typical use cases, key JVM flags, performance trade‑offs, and how to select the most suitable collector for different application workloads.

Garbage CollectionHotSpotJVM
0 likes · 14 min read
How to Pick the Best Java HotSpot GC: Serial, Parallel, CMS, G1 & ZGC
Selected Java Interview Questions
Selected Java Interview Questions
Mar 29, 2020 · Backend Development

Understanding Java Synchronized: Basic Usage, Underlying Mechanism, and Execution Results

This article explains the three forms of using the synchronized keyword in Java—method, static method, and block synchronization—demonstrates each with runnable code examples, analyzes the JVM monitorenter/monitorexit instructions, and clarifies why synchronized methods and blocks enforce mutual exclusion and visibility guarantees.

JVMconcurrencyjava
0 likes · 13 min read
Understanding Java Synchronized: Basic Usage, Underlying Mechanism, and Execution Results
Java Captain
Java Captain
Mar 27, 2020 · Fundamentals

Comprehensive Overview of Java JVM Runtime Data Areas, Memory Model, Garbage Collection, and Class Loading

This article provides a detailed explanation of the Java Virtual Machine's runtime memory regions, the Java Memory Model, garbage collection mechanisms, heap layout, HotSpot VM internals, class loading process, and performance tuning parameters, offering a solid foundation for Java developers and architects.

Class LoadingGarbage CollectionJVM
0 likes · 29 min read
Comprehensive Overview of Java JVM Runtime Data Areas, Memory Model, Garbage Collection, and Class Loading
Programmer DD
Programmer DD
Mar 23, 2020 · Backend Development

How Does OpenJDK 14 Stack Up Against Java 8? Benchmark Results Revealed

This article presents a comprehensive performance comparison of OpenJDK 14 with OpenJDK 8 and other major releases, using Phoronix benchmarks across workloads such as SPECjbb, Java 2D, SciMark, DaCapo, Jython, Daytrader, Renaissance, and HBase, and draws conclusions about overall speed trends.

JVMJava 14Java performance
0 likes · 7 min read
How Does OpenJDK 14 Stack Up Against Java 8? Benchmark Results Revealed
FunTester
FunTester
Mar 10, 2020 · Backend Development

Understanding JVM Hotspot Compilation and Performance Gains in Java

The article explains how the JVM selectively compiles frequently executed Java code into optimized native code, demonstrates significant performance improvements through JIT compilation with two demo programs, and highlights the trade‑offs between interpretation and compilation for hotspot methods.

HotSpotJVMOptimization
0 likes · 5 min read
Understanding JVM Hotspot Compilation and Performance Gains in Java
Big Data Technology Architecture
Big Data Technology Architecture
Mar 4, 2020 · Databases

HBase Memory‑Related Performance Tuning Guide

This article explains how to optimize HBase performance by properly configuring JVM memory, selecting suitable garbage‑collection strategies, enabling MSLAB and BucketCache, and adjusting read/write cache ratios to reduce fragmentation and improve throughput.

Garbage CollectionHBaseJVM
0 likes · 8 min read
HBase Memory‑Related Performance Tuning Guide
macrozheng
macrozheng
Mar 3, 2020 · Fundamentals

Mastering Java Garbage Collection: Algorithms, Regions, and Tuning Tips

This article provides a comprehensive overview of Java's automatic garbage collection, covering memory regions, identification methods, core algorithms such as mark‑sweep, copying, and generational collection, detailed explanations of various collectors (Serial, CMS, G1, etc.), and practical tuning insights for optimal performance.

Garbage CollectionJVMMemory Management
0 likes · 31 min read
Mastering Java Garbage Collection: Algorithms, Regions, and Tuning Tips
Programmer DD
Programmer DD
Feb 28, 2020 · Fundamentals

Why Is Java’s main Method Public, Static, and Void? Explained

This article explains why the Java main method must be declared public, static, and void, covering its role as the program entry point, the JVM's requirements, and additional modifiers and variations such as varargs and strictfp.

JVMProgramming Fundamentalsjava
0 likes · 6 min read
Why Is Java’s main Method Public, Static, and Void? Explained
Programmer DD
Programmer DD
Feb 8, 2020 · Backend Development

Master Java Memory: Essential JVM Flags to Prevent OutOfMemory Errors

This guide explains the most important JVM parameters—such as -Xms, -Xmx, -Xss, and various -XX options—detailing how each setting influences heap, stack, and generation sizes and how proper configuration can avoid common OutOfMemoryError scenarios in Java applications.

JVMMemory ManagementOutOfMemoryError
0 likes · 3 min read
Master Java Memory: Essential JVM Flags to Prevent OutOfMemory Errors
Tencent Cloud Developer
Tencent Cloud Developer
Jan 19, 2020 · Backend Development

Tencent Kona JDK: OpenJDK Foundations, Technical Trends, and Big Data Practices

The talk reviews OpenJDK’s evolution, contrasts Oracle JDK, introduces Tencent’s Kona JDK as a free, long‑term, production‑hardened fork optimized for massive micro‑service and big‑data workloads, and discusses emerging Java‑on‑Java, value‑type, Project Panama/Loom, and SIMD Vector API trends shaping JVM performance.

Big DataCloud ComputingJVM
0 likes · 15 min read
Tencent Kona JDK: OpenJDK Foundations, Technical Trends, and Big Data Practices
Architect's Tech Stack
Architect's Tech Stack
Jan 18, 2020 · Fundamentals

JVM Memory Architecture: Overview, Heap, Metaspace, Stack, and More

This article provides a comprehensive overview of the Java Virtual Machine memory layout, covering heap regions, Metaspace, stack frames, native method stack, program counter, direct memory, and code cache, along with configuration tips, diagnostic commands, and illustrative code examples to help readers understand memory allocation and garbage collection.

Garbage CollectionJVMMemory Management
0 likes · 16 min read
JVM Memory Architecture: Overview, Heap, Metaspace, Stack, and More
vivo Internet Technology
vivo Internet Technology
Jan 8, 2020 · Fundamentals

Understanding Kotlin Coroutines, Go Coroutines, and JVM Threading

The article demonstrates that Kotlin coroutines on the JVM are merely a convenient API layered on traditional Java threads rather than true lightweight coroutines, contrasting them with Go’s M:N goroutine scheduling, and discusses experimental Kotlin‑Native and OpenJDK Loom projects that aim to provide genuine coroutine support.

CoroutinesGoJVM
0 likes · 20 min read
Understanding Kotlin Coroutines, Go Coroutines, and JVM Threading
JD Retail Technology
JD Retail Technology
Jan 7, 2020 · Backend Development

Performance Optimization Practices for the Tongtian Tower Backend System

This article summarizes the Tongtian Tower backend performance optimization experience, detailing background, achieved improvements of 10‑30%, optimization principles, testing methods, metric analysis, and concrete strategies such as RPC scheduling, JVM tuning, logging, thread‑pool and code refinements to enhance latency and throughput.

JVMLoad TestingRPC scheduling
0 likes · 12 min read
Performance Optimization Practices for the Tongtian Tower Backend System
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Dec 20, 2019 · Backend Development

Why Java and Python Behave Differently on Armv8 and How to Optimize JVM Performance

This article compares Java and Python on Armv8 platforms, explaining why both compile to machine code and rely on virtual machines, detailing JVM feature support across architectures, and offering configuration tips to prevent CodeCache overflow and improve performance, while also noting Python's compatibility on Kunpeng servers.

JVMKunpengPython
0 likes · 6 min read
Why Java and Python Behave Differently on Armv8 and How to Optimize JVM Performance
HomeTech
HomeTech
Dec 20, 2019 · Cloud Native

Practical Experience of Containerizing Java Applications: Docker, JVM Tuning, Multi‑Stage Builds, and Operational Tips

This article shares the 2019 cloud‑native migration experience of an e‑commerce team, covering Docker and Kubernetes basics, Java‑Docker compatibility, memory and CPU limits, log collection, JDK version choices, Dockerfile and multi‑stage build practices, health checks, graceful shutdown, and common pitfalls encountered during containerization.

DockerJVMKubernetes
0 likes · 21 min read
Practical Experience of Containerizing Java Applications: Docker, JVM Tuning, Multi‑Stage Builds, and Operational Tips
360 Tech Engineering
360 Tech Engineering
Dec 17, 2019 · Backend Development

Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring, and Code Fixes

This article explains how Java memory leaks can occur despite automatic garbage collection, describes JVM GC‑Root analysis, outlines practical monitoring with Spring Boot Actuator, Prometheus, and Grafana, and provides step‑by‑step debugging commands and code adjustments to locate and fix the leak.

Garbage CollectionJVMMonitoring
0 likes · 10 min read
Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring, and Code Fixes
Huajiao Technology
Huajiao Technology
Dec 17, 2019 · Backend Development

Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring with Spring Boot Actuator, Prometheus, Grafana, and MAT

This article explains how Java memory leaks can occur despite automatic garbage collection, describes JVM reachability analysis, shows how to monitor and detect leaks using Spring Boot Actuator, Prometheus, and Grafana, and provides step‑by‑step instructions for heap dump analysis and code fixes.

Garbage CollectionGrafanaJVM
0 likes · 11 min read
Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring with Spring Boot Actuator, Prometheus, Grafana, and MAT
Architect's Tech Stack
Architect's Tech Stack
Dec 13, 2019 · Backend Development

Comprehensive Java Interview Guide and Preparation Checklist

This article provides a detailed Java interview preparation guide, covering personal experience, overall interview process, essential knowledge areas such as core Java, data structures, algorithms, JVM, multithreading, databases, networking, design patterns, distributed systems, caching, frameworks, emerging technologies, and practical tips for success.

Design PatternsInterviewJVM
0 likes · 9 min read
Comprehensive Java Interview Guide and Preparation Checklist
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 11, 2019 · Backend Development

How Alibaba’s ElasticHeap, Wisp2, and ZGC Transform Java Performance for Cloud‑Native Apps

This article explains how Alibaba’s JVM team introduced ElasticHeap, static compilation, Wisp2 coroutines, feedback‑directed optimization, and ZGC to dramatically reduce Java heap usage, startup time, CPU load, and pause times, delivering cloud‑native performance improvements demonstrated during the Double‑11 traffic peak.

ElasticHeapJVMWisp2
0 likes · 11 min read
How Alibaba’s ElasticHeap, Wisp2, and ZGC Transform Java Performance for Cloud‑Native Apps
Selected Java Interview Questions
Selected Java Interview Questions
Nov 29, 2019 · Fundamentals

Understanding Object Liveness Determination in Java: Reference Counting and Reachability Analysis

The article explains how Java determines whether an object is alive using two main garbage‑collection algorithms—Reference Counting and Reachability Analysis—detailing their mechanisms, limitations such as circular references, the role of GC Roots, finalization, and method‑area reclamation, with illustrative code examples.

Garbage CollectionJVMMemory Management
0 likes · 6 min read
Understanding Object Liveness Determination in Java: Reference Counting and Reachability Analysis
Big Data Technology Architecture
Big Data Technology Architecture
Nov 19, 2019 · Backend Development

CMS GC JVM Parameter Tuning Guide for HBase Clusters

This article explains the fundamentals of the CMS (Concurrent Mark Sweep) garbage collector, presents a comprehensive set of JVM parameters optimized for HBase clusters, and provides detailed analysis of key settings to improve performance and reduce GC pauses.

CMS GCGarbage CollectionHBase
0 likes · 7 min read
CMS GC JVM Parameter Tuning Guide for HBase Clusters
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 18, 2019 · Big Data

Understanding JVM Garbage Collection and Flink Memory Management

This article explains the fundamentals of JVM garbage collection, its generational algorithms and associated performance issues, and then details Apache Flink's memory management architecture, including MemorySegment, off‑heap buffers, serialization mechanisms, and type information for efficient big‑data processing.

Big DataFlinkGarbage Collection
0 likes · 7 min read
Understanding JVM Garbage Collection and Flink Memory Management
FunTester
FunTester
Nov 16, 2019 · Backend Development

Using Groovy and Gradle for Configuration Synchronization and Database Integration

This article explains how Groovy, combined with Gradle, can serve as a native application server to synchronize environment‑specific property files with a MySQL registry, demonstrating practical build‑script configuration, file‑system traversal, and Groovy‑SQL database operations for robust CI/CD workflows.

GradleGroovyJVM
0 likes · 9 min read
Using Groovy and Gradle for Configuration Synchronization and Database Integration
Senior Brother's Insights
Senior Brother's Insights
Nov 12, 2019 · Fundamentals

What Really Happens When Java Loads a Class and Creates an Object?

When Java executes a new expression, the JVM first ensures the class is loaded using the parent‑delegation model, then follows a five‑step loading and linking process before allocating heap memory, initializing fields, running static and instance code, and finally returning a reference to the new object.

Class LoadingInitializationJVM
0 likes · 8 min read
What Really Happens When Java Loads a Class and Creates an Object?
Senior Brother's Insights
Senior Brother's Insights
Nov 10, 2019 · Backend Development

Master JVM Performance: Using jps, jstack, jmap, jstat & hprof

This guide introduces essential JVM performance monitoring tools—including jps, jstack, jmap, jhat, jstat, and hprof—explains their command syntax, demonstrates step‑by‑step usage with real‑world examples, and shows how to interpret their output to diagnose memory leaks, thread issues, GC behavior, and CPU hotspots.

HprofJVMjmap
0 likes · 14 min read
Master JVM Performance: Using jps, jstack, jmap, jstat & hprof
Architecture Digest
Architecture Digest
Nov 7, 2019 · Fundamentals

How the JVM Determines Object Liveness and Its Garbage Collection Algorithms

This article explains the JVM memory model, how the JVM decides whether an object is alive using reference counting and reachability analysis, and describes the main garbage‑collection algorithms—including mark‑sweep, mark‑compact, copying, and generational collection—along with their advantages and drawbacks.

Garbage CollectionGenerational GCJVM
0 likes · 8 min read
How the JVM Determines Object Liveness and Its Garbage Collection Algorithms
Java Captain
Java Captain
Nov 4, 2019 · Backend Development

Spring Boot Project and JVM Tuning Guide

This article explains how to optimize Spring Boot applications by adjusting configuration properties and JVM parameters, provides essential Tomcat settings, demonstrates practical tuning steps with and without IDE support, and details the meaning of common JVM flags for improved performance.

ConfigurationJVMSpringBoot
0 likes · 6 min read
Spring Boot Project and JVM Tuning Guide
Senior Brother's Insights
Senior Brother's Insights
Nov 4, 2019 · Fundamentals

Why Understanding Java Memory Model Boosts Your Code Efficiency

This article explains the hardware memory architecture, the role of caches, and how the Java Memory Model abstracts thread interaction with main and working memory, detailing the eight fundamental JMM operations, their ordering rules, and special considerations for long and double types to help developers write correct, high‑performance concurrent Java code.

JVMMemory ModelThread Safety
0 likes · 11 min read
Why Understanding Java Memory Model Boosts Your Code Efficiency
Programmer DD
Programmer DD
Nov 4, 2019 · Operations

Master JVM Performance: Essential Tools and Real‑World Tuning Guide

This article introduces the most common JVM performance problems in enterprise Java applications and provides a practical guide to using core monitoring and tuning tools such as jps, jstack, jmap, jstat and hprof, complete with command syntax, sample outputs and step‑by‑step troubleshooting examples.

JVMMonitoring Toolsjava
0 likes · 13 min read
Master JVM Performance: Essential Tools and Real‑World Tuning Guide
Programmer DD
Programmer DD
Nov 3, 2019 · Backend Development

Master Java GC: Understand Memory, Parameters, and Algorithms for Interviews

This article explains Java garbage collection fundamentals, detailing JVM memory layout, key -X and -XX parameters, the mechanisms of object survival, and the main GC algorithms—Mark‑Sweep, Copying, Mark‑Compact, and generational collection—providing clear diagrams and interview‑ready insights.

GC AlgorithmsGarbage CollectionInterview Preparation
0 likes · 9 min read
Master Java GC: Understand Memory, Parameters, and Algorithms for Interviews
Programmer DD
Programmer DD
Nov 2, 2019 · Backend Development

Master JVM Memory Structure: A Deep Dive into Java’s Runtime Architecture

This article explains the Java Virtual Machine’s memory layout, covering the five runtime regions—heap, method area, JVM stacks, native method stacks, and program counter—along with their purposes, thread‑visibility, garbage‑collection behavior, and common pitfalls such as OutOfMemoryError and StackOverflowError.

Garbage CollectionJVMMemory Management
0 likes · 9 min read
Master JVM Memory Structure: A Deep Dive into Java’s Runtime Architecture
JavaEdge
JavaEdge
Oct 30, 2019 · Fundamentals

Inside the Java Launcher: How the JVM Starts and Executes Main

This article walks through the native entry point of the Java launcher, explaining how the main function delegates to JLI_Launch, initializes the JVM, loads the main class, constructs arguments, and finally invokes the Java main method with detailed code excerpts.

C++JVMNative
0 likes · 8 min read
Inside the Java Launcher: How the JVM Starts and Executes Main
FunTester
FunTester
Oct 30, 2019 · Fundamentals

Mastering JVM Memory: Models, GC Algorithms, and Optimization Tips

This article provides a comprehensive overview of the JVM memory model, garbage collection algorithms, various collectors and their trade‑offs, class loading steps, object lifecycle, escape analysis, and practical tuning commands for optimizing Java applications.

GC AlgorithmsGarbage CollectionJVM
0 likes · 14 min read
Mastering JVM Memory: Models, GC Algorithms, and Optimization Tips
Senior Brother's Insights
Senior Brother's Insights
Oct 27, 2019 · Fundamentals

Why Accessing a Superclass Static Field Skips Subclass Initialization – JVM Class Loading Explained

This article examines common Java interview questions about static field access, demonstrates how the JVM loads and initializes classes, explains why a subclass may not be initialized when referencing a superclass static variable, and details each phase of the JVM class‑loading lifecycle.

Bytecode VerificationClass LoadingInitialization
0 likes · 13 min read
Why Accessing a Superclass Static Field Skips Subclass Initialization – JVM Class Loading Explained