Tagged articles

JVM

1071 articles · Page 7 of 11
Senior Brother's Insights
Senior Brother's Insights
Oct 5, 2021 · Fundamentals

How to Resolve Java Jar Conflicts by Adjusting Classloader Order

This article explains why manual jar management can cause class loading conflicts, shows quick IDE-based steps to reorder jars for a temporary fix, and dives into JVM classloader isolation, the parent‑delegation mechanism, and Tomcat's startup loading order to help developers debug and prevent such issues.

ClassLoaderDebuggingJVM
0 likes · 12 min read
How to Resolve Java Jar Conflicts by Adjusting Classloader Order
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 24, 2021 · Fundamentals

Comprehensive Java Fundamentals and Interview Guide

This article provides a thorough overview of Java fundamentals for interview preparation, covering JVM/JRE/JDK relationships, bytecode advantages, language features, OOP concepts, exception handling, garbage collection, reference types, and common pitfalls, supplemented with code examples and practical tips to strengthen core Java knowledge.

ExceptionsJVMOOP
0 likes · 37 min read
Comprehensive Java Fundamentals and Interview Guide
Programmer DD
Programmer DD
Sep 24, 2021 · Backend Development

Master JVM Startup Flags: Decode GC Logs and Optimize Memory

This guide explains the most common JVM startup flags for controlling garbage collection logging, heap sizing, class loading monitoring, and out‑of‑memory handling, providing sample outputs and detailed interpretations to help developers tune memory usage and diagnose performance issues in large Java applications.

GCJVMMemory Management
0 likes · 10 min read
Master JVM Startup Flags: Decode GC Logs and Optimize Memory
Efficient Ops
Efficient Ops
Sep 23, 2021 · Operations

Why Did Our New Deployment Crash? Uncovering Metaspace‑Induced Full‑GC

The article recounts a staged rollout of the Maybach service on elastic cloud, details the timeline of successful and failing deployments, analyzes JVM metrics revealing excessive Metaspace usage that triggered continuous full garbage collections, and explains how this caused system‑wide timeouts and a half‑hour outage.

Full GCJVMMetaspace
0 likes · 10 min read
Why Did Our New Deployment Crash? Uncovering Metaspace‑Induced Full‑GC
Wukong Talks Architecture
Wukong Talks Architecture
Sep 23, 2021 · Backend Development

Comprehensive JVM Garbage Collection Interview Questions and Answers

This article compiles a series of JVM interview questions covering heap partitioning, garbage‑collection algorithms, collector types, memory coordination, tuning strategies, and practical tooling such as jstat, jmap, and MAT, providing detailed explanations and command‑line examples for each topic.

Garbage CollectionInterviewJVM
0 likes · 27 min read
Comprehensive JVM Garbage Collection Interview Questions and Answers
Architect
Architect
Sep 9, 2021 · Fundamentals

Understanding JVM Memory Structure: Areas, Allocation, and Tuning

This article provides a comprehensive overview of the Java Virtual Machine memory layout, explaining each region such as the heap, metaspace, stack, program counter, direct memory and code cache, along with allocation strategies, tuning parameters, and practical OOM demonstrations.

Garbage CollectionJVMMemory Management
0 likes · 16 min read
Understanding JVM Memory Structure: Areas, Allocation, and Tuning
Su San Talks Tech
Su San Talks Tech
Sep 7, 2021 · Fundamentals

Master Java Fundamentals: Essential Interview Topics and Core Concepts

This comprehensive guide covers Java platform basics, JVM/JRE/JDK relationships, bytecode advantages, new features since Java 8, core OOP principles, common interview questions, exception handling, garbage collection, reference types, and practical code examples to solidify your Java expertise.

ExceptionsInterviewJVM
0 likes · 45 min read
Master Java Fundamentals: Essential Interview Topics and Core Concepts
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 1, 2021 · Fundamentals

Comprehensive Java Fundamentals Guide: JVM, JDK, OOP, Exceptions, Collections, and More

This article provides an extensive overview of Java fundamentals, covering the JVM/JRE/JDK relationship, bytecode and JIT compilation, core language features introduced in Java 8, basic syntax differences, data types, OOP principles, SOLID design, exception handling, reference types, and string manipulation classes.

CollectionsExceptionsJVM
0 likes · 34 min read
Comprehensive Java Fundamentals Guide: JVM, JDK, OOP, Exceptions, Collections, and More
Code Ape Tech Column
Code Ape Tech Column
Sep 1, 2021 · Fundamentals

Understanding Java Object Memory Layout with JOL

This article explains how Java objects are stored in memory, covering the object header, instance data, alignment padding, lock states, pointer compression, and field reordering, and demonstrates how to inspect these structures using the OpenJDK JOL tool with practical code examples.

JOLJVMMark Word
0 likes · 20 min read
Understanding Java Object Memory Layout with JOL
dbaplus Community
dbaplus Community
Aug 30, 2021 · Operations

How to Systematically Diagnose High RSS Memory Usage in Java Services

This article presents a step‑by‑step methodology for troubleshooting high RSS memory consumption in Java applications, covering heap size assessment, ARENA region analysis, native memory tracking, off‑heap memory checks, and automation tools to streamline the entire diagnostic process.

JVMMemoryNativeMemoryTracking
0 likes · 15 min read
How to Systematically Diagnose High RSS Memory Usage in Java Services
Architect's Tech Stack
Architect's Tech Stack
Aug 24, 2021 · Backend Development

Common JVM Startup Parameters and Their Usage

This article introduces the most frequently used JVM startup parameters, explains their effects on garbage collection, heap configuration, class loading monitoring, and out‑of‑memory handling, and provides example outputs to help developers tune Java applications for large‑scale projects.

Garbage CollectionJVMMemory Management
0 likes · 11 min read
Common JVM Startup Parameters and Their Usage
Programmer DD
Programmer DD
Aug 15, 2021 · Fundamentals

Is Java’s long and double Access Truly Atomic? A Deep Dive

Through a multithreaded test program, this article explores whether Java’s 64‑bit long and double types are accessed atomically on 32‑bit and 64‑bit JVMs, explains the JVM memory model rules, and shows how volatility and hardware affect atomicity.

AtomicityJVMLong
0 likes · 10 min read
Is Java’s long and double Access Truly Atomic? A Deep Dive
Java Interview Crash Guide
Java Interview Crash Guide
Aug 11, 2021 · Fundamentals

Why Understanding JVM Memory Structure Is Crucial for Java Developers

This article explains the purpose of learning the JVM memory layout, describes each runtime data area—including program counter, VM stack, native method stack, heap, and method area—highlights thread‑private versus shared regions, and provides code samples that trigger StackOverflowError and OutOfMemoryError across different JDK versions.

JVMOutOfMemoryErrorStackOverflowError
0 likes · 17 min read
Why Understanding JVM Memory Structure Is Crucial for Java Developers
Open Source Linux
Open Source Linux
Aug 10, 2021 · Backend Development

40 Essential Java Code Optimization Tips for Faster, Safer Applications

This article explains why code optimization is crucial for preventing unexpected runtime errors, outlines the main goals of reducing code size and improving execution efficiency, and provides a comprehensive list of practical Java optimization techniques—from using final modifiers and reusing objects to proper resource handling and avoiding common pitfalls—complete with code examples and performance explanations.

JVMcode optimizationjava
0 likes · 29 min read
40 Essential Java Code Optimization Tips for Faster, Safer Applications
Tencent Cloud Developer
Tencent Cloud Developer
Aug 5, 2021 · Fundamentals

Java vs Go: A Comparative Analysis of Garbage Collection Algorithms

The article compares Java’s mature, generational garbage collector—using mark‑copy for young objects, mark‑sweep/compact for old, with sophisticated write barriers and fragmentation handling—to Go’s non‑generational, concurrent tri‑color mark‑sweep collector that relies on a span‑based memory pool, TCMalloc optimizations, and simpler root selection.

Garbage CollectionGenerational CollectionGo GC
0 likes · 14 min read
Java vs Go: A Comparative Analysis of Garbage Collection Algorithms
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 5, 2021 · Backend Development

Deep Dive into JVM Tuning: Lessons from "Understanding the JVM" (3rd Edition)

The article shares the author’s experience reading the third edition of "Understanding the JVM," focusing on JVM memory management, garbage‑collection algorithms, tuning strategies, and practical tools, while providing concise summaries of each book section and actionable advice for Java performance optimization.

Garbage CollectionJDK toolsJVM
0 likes · 15 min read
Deep Dive into JVM Tuning: Lessons from "Understanding the JVM" (3rd Edition)
Tencent Cloud Developer
Tencent Cloud Developer
Aug 3, 2021 · Backend Development

Overview of Java Garbage Collection Algorithms and Memory Management

The article explains Java’s automatic memory management, detailing JVM memory regions, object liveness via reachability analysis, allocation strategies, and the main garbage‑collection algorithms—Mark‑Sweep, Mark‑Copy, Mark‑Compact—and compares HotSpot collectors such as Serial, Parallel, CMS and G1, guiding developers to choose the best fit for their workloads.

GC AlgorithmsGarbage CollectionJVM
0 likes · 16 min read
Overview of Java Garbage Collection Algorithms and Memory Management
Java Architect Essentials
Java Architect Essentials
Aug 2, 2021 · Backend Development

Java Garbage Collection, JVM Memory Model, Concurrency Locks, Thread Pools and Distributed Locking

The article provides a comprehensive overview of Java garbage‑collection algorithms, JVM memory regions, object reachability analysis, the semantics of volatile, synchronized and ReentrantLock, thread‑pool creation and operation, deadlock examples, distributed‑lock strategies, and related tooling such as JUC utilities and Git conflict handling.

Garbage CollectionJVMLock
0 likes · 23 min read
Java Garbage Collection, JVM Memory Model, Concurrency Locks, Thread Pools and Distributed Locking
DeWu Technology
DeWu Technology
Aug 1, 2021 · Backend Development

Understanding Service Jitter and JVM JIT Compilation

The article explains how intermittent latency spikes (jitter) in a high‑throughput service can be triggered when the JVM’s Just‑In‑Time compiler activates, detailing interpreter vs. JIT, C1/C2 tiered compilation, hot‑spot detection thresholds and compilation stages, and recommends pre‑warming code, disabling tiered compilation, or tuning thresholds and JVM flags to eliminate jitter.

HotSpotJVMbackend
0 likes · 12 min read
Understanding Service Jitter and JVM JIT Compilation
Top Architect
Top Architect
Jul 26, 2021 · Backend Development

Performance Optimization of Java Backend Services: Reducing CPU Load, Improving Hystrix Circuit Breaking, and Fixing Spring Data Binding Issues

This article describes how a Java backend service suffered high CPU usage and load, how the team diagnosed the problems with jtop and thread stacks, optimized JSON/Bean processing, re‑engineered Hystrix circuit‑breaker settings, reduced logging overhead, and fixed Spring data‑binding exceptions to double the QPS and achieve stable recovery after traffic spikes.

HystrixJVMSpring
0 likes · 15 min read
Performance Optimization of Java Backend Services: Reducing CPU Load, Improving Hystrix Circuit Breaking, and Fixing Spring Data Binding Issues
Java Architect Essentials
Java Architect Essentials
Jul 25, 2021 · Backend Development

How I Cut Full GC Frequency by 80%: A JVM Tuning Case Study

Over a month of systematic JVM tuning reduced Full GC from 40 times per day to once every ten days and halved Young GC duration by adjusting heap sizes, survivor ratios, and metaspace settings while investigating and fixing a memory leak caused by an anonymous inner class listener.

Garbage CollectionJVMOperations
0 likes · 10 min read
How I Cut Full GC Frequency by 80%: A JVM Tuning Case Study
Programmer DD
Programmer DD
Jul 23, 2021 · Fundamentals

Why Overriding hashCode Matters: Prevent Memory Leaks and OOM

This article explores the distinction between OutOfMemory errors and memory leaks in Java, examines how improper use of static fields, unclosed streams, incorrect equals/hashCode implementations, and ThreadLocal can cause leaks, and provides practical solutions and tools such as JVisualVM to detect and prevent these issues.

JVMOutOfMemoryThreadLocal
0 likes · 16 min read
Why Overriding hashCode Matters: Prevent Memory Leaks and OOM
Programmer DD
Programmer DD
Jul 19, 2021 · Fundamentals

Is Java’s long Truly Atomic? Exploring JVM Memory Model Behavior

This article investigates whether long and double variables are atomic in the JVM, demonstrates non‑atomic behavior on 32‑bit HotSpot with a multithreaded test, explains the Java Memory Model rules, and shows that atomicity is guaranteed on 64‑bit JVMs or when using volatile.

AtomicityJVMMemory Model
0 likes · 9 min read
Is Java’s long Truly Atomic? Exploring JVM Memory Model Behavior
FunTester
FunTester
Jul 5, 2021 · Industry Insights

Which Load Testing Tool Wins at 100k QPS? K6 vs Gatling vs FunTester Benchmarks

In a series of local benchmarks on a 2.6 GHz six‑core Intel i7 machine, the author compares K6, Gatling, and FunTester under 10 k to 20 k QPS loads, detailing CPU, memory, and response‑time metrics, analyzing script languages, JVM settings, and offering optimization suggestions for FunTester.

FunTesterGatlingJVM
0 likes · 11 min read
Which Load Testing Tool Wins at 100k QPS? K6 vs Gatling vs FunTester Benchmarks
JavaEdge
JavaEdge
Jul 2, 2021 · Backend Development

How to Diagnose and Reproduce Different Java OOM Errors

This article explains the various types of Java OutOfMemoryError, shows how to trigger each one on HotSpot JVM, provides diagnostic steps and relevant JVM flags, and offers practical code examples for heap, stack, metaspace, and direct memory overflow scenarios.

DirectMemoryJVMMetaspace
0 likes · 16 min read
How to Diagnose and Reproduce Different Java OOM Errors
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 27, 2021 · Fundamentals

Understanding Java Thread States and Their Transitions

This article explains Java thread lifecycle states, detailing the six JVM-defined states (NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, TERMINATED), their transitions, and the finer distinction between READY and RUNNING within the RUNNABLE state, while clarifying why Java does not define a separate RUNNING state.

JVMThreadStateconcurrency
0 likes · 6 min read
Understanding Java Thread States and Their Transitions
Code Ape Tech Column
Code Ape Tech Column
Jun 20, 2021 · Backend Development

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

This article introduces core JVM performance and monitoring utilities—including jps, jstack, jmap, jhat, jstat, and hprof—explains their command syntax, demonstrates practical steps to locate high‑CPU threads, analyze heap dumps, and interpret GC statistics, and provides concrete code examples for Java developers.

JVMjavajmap
0 likes · 13 min read
Master JVM Performance: Essential Tools and Real‑World Debugging Guide
Top Architect
Top Architect
Jun 9, 2021 · Operations

Configuring a Perfect JVM GC Log Printing Strategy

This guide explains how to configure comprehensive JVM garbage-collection logging—including basic GC details, object age distribution, heap snapshots, pause times, safepoint statistics, and reference processing—while using timestamped filenames and JVM log rotation to avoid overwriting and manage file size effectively.

GCJVMMonitoring
0 likes · 12 min read
Configuring a Perfect JVM GC Log Printing Strategy
Selected Java Interview Questions
Selected Java Interview Questions
Jun 7, 2021 · Backend Development

Common JVM Garbage Collectors: Characteristics, Use Cases, and Tuning Parameters

This article provides an overview of the most common Java JVM garbage collectors—including Serial, ParNew, Parallel, Serial Old, CMS, Parallel Old, and G1—detailing their characteristics, advantages, disadvantages, typical usage scenarios, and JVM tuning parameters for optimal performance.

Garbage CollectionJVMMemory Management
0 likes · 13 min read
Common JVM Garbage Collectors: Characteristics, Use Cases, and Tuning Parameters
Programmer DD
Programmer DD
May 31, 2021 · Cloud Native

How to Eliminate JVM Warm‑up Delays in Kubernetes with Burstable QoS

Running Java services on Kubernetes often suffers from long JVM warm‑up times that cause high latency during deployments, but by analyzing CPU throttling and leveraging Burstable QoS with appropriate request/limit settings, you can dramatically reduce warm‑up delays without extra pods or cost.

Burstable QoSCPU throttlingJVM
0 likes · 11 min read
How to Eliminate JVM Warm‑up Delays in Kubernetes with Burstable QoS
Programmer DD
Programmer DD
May 27, 2021 · Operations

How We Cut Full GC Frequency from 40×/Day to Once Every 10 Days

Over a month of JVM tuning, the author reduced Full GC from more than 40 times per day to once every ten days and halved Young GC duration by adjusting heap sizes, fixing memory leaks, and tuning metaspace, ultimately improving server throughput and stability.

Full GCGarbage CollectionJVM
0 likes · 12 min read
How We Cut Full GC Frequency from 40×/Day to Once Every 10 Days
Programmer DD
Programmer DD
May 23, 2021 · Operations

How I Cut Full GC Frequency from 40 to 1 in 10 Days: A JVM Tuning Journey

Over a month of systematic investigation, the author reduced Full GC occurrences on a 2‑core, 4 GB Java server cluster from 40 times a day to roughly once every ten days by adjusting heap settings, fixing a memory‑leak caused by an anonymous listener, and tuning Metaspace and CMS thresholds, ultimately achieving stable performance and lower latency.

Garbage CollectionJVMjava
0 likes · 11 min read
How I Cut Full GC Frequency from 40 to 1 in 10 Days: A JVM Tuning Journey
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 15, 2021 · Backend Development

JVM Tuning Guide: Understanding GC, Memory Model, and Configuration Options

This article provides a comprehensive guide to JVM performance tuning, covering the JVM architecture, runtime data areas, various garbage collectors, configuration flags for heap and GC settings, and practical recommendations for selecting the optimal GC strategy based on workload characteristics.

Garbage CollectionJVMbackend development
0 likes · 6 min read
JVM Tuning Guide: Understanding GC, Memory Model, and Configuration Options
Top Architect
Top Architect
May 11, 2021 · Fundamentals

Understanding Java Locks: From Synchronized to Lock Upgrade Mechanisms

This article explains how Java implements locks—from the basic use of the synchronized keyword and Lock interface to the internal object header structures, bias, lightweight, and heavyweight lock upgrades, and the role of CAS and monitor objects in JVM concurrency control.

JVMLock UpgradeLocks
0 likes · 18 min read
Understanding Java Locks: From Synchronized to Lock Upgrade Mechanisms
Programmer DD
Programmer DD
May 10, 2021 · Backend Development

Doubling QPS and Fixing Hystrix Bottlenecks in a Java Service

This article describes how a Java backend service suffering from high CPU load and unstable Hystrix circuit breaking was diagnosed and optimized—using jtop for JVM profiling, refactoring JSON/Bean handling, switching Hystrix isolation modes, improving logging, and tweaking circuit‑breaker settings—to double its QPS capacity and achieve rapid recovery after traffic spikes.

HystrixJVMSpring
0 likes · 15 min read
Doubling QPS and Fixing Hystrix Bottlenecks in a Java Service
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 7, 2021 · Fundamentals

The Life Cycle of Java Objects: From Allocation to Old Generation

This article uses a real‑world recommendation system case to explain how Java objects are created in the young generation, survive multiple young GCs, and are promoted to the old generation under various conditions such as repeated GC cycles, dynamic age thresholds, and space‑guarantee mechanisms.

Garbage CollectionJVMMemory Management
0 likes · 7 min read
The Life Cycle of Java Objects: From Allocation to Old Generation
Senior Brother's Insights
Senior Brother's Insights
May 5, 2021 · Fundamentals

What Is the True Maximum Length of a Java String?

This article explores the theoretical and practical limits of Java String length, analyzing JDK source code, integer ranges, JVM constant pool constraints, and runtime memory considerations to reveal why the maximum size is 2^31‑1 characters (≈4 GB) at runtime but only 65 534 characters at compile time.

JVMLength LimitMemory
0 likes · 8 min read
What Is the True Maximum Length of a Java String?
DeWu Technology
DeWu Technology
Apr 29, 2021 · Backend Development

JVM Garbage Collection: CMS Principles and Tuning

Understanding JVM garbage collection with the CMS collector involves grasping class‑loader hierarchies, memory regions such as Young, Old and Metaspace, the multithreaded ParNew young collector, CMS’s four‑phase mark‑sweep‑compact cycle, and applying tuning parameters—like survivor ratios, tenuring thresholds, and concurrent marking options—to minimize stop‑the‑world pauses and full GCs on typical 4‑core, 8 GB servers.

CMSGarbage CollectionJVM
0 likes · 18 min read
JVM Garbage Collection: CMS Principles and Tuning
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 27, 2021 · Fundamentals

Understanding JVM Memory Areas: Program Counter, Stack, Heap, and Metaspace

This article provides a comprehensive overview of the Java Virtual Machine's memory layout, detailing the runtime data area—including the program counter, JVM stack, native method stack, heap, and metaspace—while explaining their structures, functions, common errors, and the role of JIT and escape analysis.

JVMMemory ManagementRuntime Data Area
0 likes · 12 min read
Understanding JVM Memory Areas: Program Counter, Stack, Heap, and Metaspace
Top Architect
Top Architect
Apr 27, 2021 · Backend Development

Common Misunderstandings in Thread Pool Configuration and How to Avoid Them

This article explains the inner workings of Java thread pools, clarifies common misconceptions about core pool sizing, BlockingQueue behavior, concurrency calculation, and runtime factors such as GC, providing practical guidance and code examples for correctly configuring thread pools in backend systems.

JVMThreadPoolblockingqueue
0 likes · 12 min read
Common Misunderstandings in Thread Pool Configuration and How to Avoid Them
Programmer DD
Programmer DD
Apr 27, 2021 · Fundamentals

Why Setting Unused Objects to null Can Actually Help Java GC – A Deep Dive

This article explains the misconception that null‑assigning unused objects always improves Java garbage collection, demonstrates with concrete JVM examples how stack references affect object reachability, and shows how explicit null or variable reuse can free memory more effectively.

Garbage CollectionJVMMemory Management
0 likes · 10 min read
Why Setting Unused Objects to null Can Actually Help Java GC – A Deep Dive
Code Ape Tech Column
Code Ape Tech Column
Apr 25, 2021 · Operations

JVM Garbage Collection Tuning: Reducing FullGC Frequency and Improving Throughput

This article documents a month-long JVM garbage‑collection tuning effort on a 2‑core, 4 GB server cluster, detailing initial problems with frequent FullGC, successive configuration adjustments, memory‑leak investigations, and the final optimizations that cut FullGC occurrences and significantly improved overall throughput.

FullGCGarbage CollectionJVM
0 likes · 10 min read
JVM Garbage Collection Tuning: Reducing FullGC Frequency and Improving Throughput
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 20, 2021 · Fundamentals

Understanding JVM Memory Structure and the Java Memory Model (JMM): volatile, synchronized and Concurrency Basics

This article explains the differences between JVM memory layout and the Java Memory Model, clarifies how volatile and synchronized guarantee visibility, atomicity and ordering, and provides practical guidelines, code examples, and diagrams for mastering Java concurrency fundamentals.

JVMMemory ModelVolatile
0 likes · 35 min read
Understanding JVM Memory Structure and the Java Memory Model (JMM): volatile, synchronized and Concurrency Basics
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 19, 2021 · Backend Development

Comprehensive Guide to Java JVM: Architecture, Class Loading, Garbage Collection, and Performance Tuning

This article provides an in‑depth overview of the Java Virtual Machine, covering JDK/JRE/JVM relationships, compilation process, class loading mechanisms, the parent‑delegation model, runtime memory areas, garbage collection algorithms and collectors, and practical JVM performance tuning tips for backend developers.

Class LoadingGarbage CollectionJVM
0 likes · 50 min read
Comprehensive Guide to Java JVM: Architecture, Class Loading, Garbage Collection, and Performance Tuning
Yuewen Technology
Yuewen Technology
Apr 16, 2021 · Backend Development

Why G1 Is the Future Garbage Collector for High‑Throughput Java Services

This article examines how Oracle's G1 garbage collector, the default since JDK 9, outperforms the traditional CMS collector in multi‑core, large‑memory environments through parallelism, space integration, predictive pause models, and real‑world performance testing on Yuewen's licensing service.

G1GCGarbage CollectionJVM
0 likes · 9 min read
Why G1 Is the Future Garbage Collector for High‑Throughput Java Services
Miss Fresh Tech Team
Miss Fresh Tech Team
Apr 16, 2021 · Backend Development

Why G1GC? Understanding Soft Real‑Time and Pause‑Time Prediction in Java

This article explains the evolution of garbage collection, why G1GC is chosen for low‑latency high‑availability Java services, how it achieves soft real‑time guarantees, the internal heap and region structures, concurrent marking, SATB, remembered sets, and the algorithms used to predict pause times.

G1GCGarbage CollectionJVM
0 likes · 20 min read
Why G1GC? Understanding Soft Real‑Time and Pause‑Time Prediction in Java
ITPUB
ITPUB
Apr 7, 2021 · Operations

8 Real-World Production Failures and How to Diagnose Them Quickly

The article shares eight authentic production incident cases—from frequent JVM Full GC and memory leaks to cache avalanches, DNS hijacking, and database deadlocks—detailing their root causes, diagnostic steps, code snippets, and practical remediation strategies for engineers facing similar challenges.

DatabaseJVMMonitoring
0 likes · 17 min read
8 Real-World Production Failures and How to Diagnose Them Quickly
Senior Brother's Insights
Senior Brother's Insights
Apr 6, 2021 · Fundamentals

Do Objects Move in Memory During JVM Garbage Collection? Handles vs Direct Pointers Explained

This article explores how the JVM updates object references during garbage collection, compares handle‑based and direct‑pointer implementations, demonstrates why the default toString output shows a hashcode rather than a real address, and shows how to obtain the actual memory address using the JOL library.

Garbage CollectionHandle vs PointerJOL
0 likes · 7 min read
Do Objects Move in Memory During JVM Garbage Collection? Handles vs Direct Pointers Explained
macrozheng
macrozheng
Apr 6, 2021 · Backend Development

Boost Tomcat Performance: Essential Configurations for Faster Servers

This guide explains the most important Tomcat configuration parameters—including concurrency, thread pool, JVM settings, and key Connector options—so you can optimize the web container for higher throughput and lower latency without getting lost in hundreds of obscure options.

ConfigurationJVMTomcat
0 likes · 9 min read
Boost Tomcat Performance: Essential Configurations for Faster Servers