Tagged articles
15 articles
Page 1 of 1
Cognitive Technology Team
Cognitive Technology Team
May 3, 2025 · Fundamentals

Understanding Java ThreadLocalMap: Structure, Operations, and Memory Management

This article explains the internal design of Java's ThreadLocalMap, covering its core Entry structure, hash table storage, linear probing for collision resolution, key operations (set, get, remove), memory‑leak scenarios, automatic cleanup mechanisms, and practical usage patterns such as thread‑context propagation and Android Looper.

JavaMemoryManagementThreadLocal
0 likes · 10 min read
Understanding Java ThreadLocalMap: Structure, Operations, and Memory Management
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 26, 2025 · Fundamentals

Why Did Upgrading to JDK 11 Spike Direct Memory Usage? A Deep Dive

This article records and analyzes how upgrading an application to JDK 11 changed the Direct Memory management strategy, causing a sharp increase in memory‑utilization alerts, and demonstrates step‑by‑step troubleshooting, code inspection, and JVM parameter tuning to restore normal memory usage.

DirectMemoryJDK11Java
0 likes · 16 min read
Why Did Upgrading to JDK 11 Spike Direct Memory Usage? A Deep Dive
Top Architect
Top Architect
Jan 20, 2025 · Backend Development

Diagnosing Excessive Memory Usage in Spring Boot Services: A Real‑World Case Study and Best Practices

This article recounts a production incident where Spring Boot services consumed excessive memory, explains how to diagnose the issue using jps and jmap, discusses default JVM heap settings, offers practical remediation steps, and also contains promotional material for AI community services and related offers.

BackendDevelopmentJVMJava
0 likes · 9 min read
Diagnosing Excessive Memory Usage in Spring Boot Services: A Real‑World Case Study and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Aug 29, 2024 · Mobile Development

Kotlin Native: Architecture, Compilation, Memory Layout, Interoperability, and Future Outlook

Kotlin Native compiles Kotlin code to native binaries via an IR‑to‑LLVM pipeline, provides C/C++‑compatible memory layout, garbage‑collected runtime, and rich interop with C, C++, Objective‑C/Swift, while facing tooling and value‑type challenges that are being addressed through ongoing performance and language enhancements.

InteropKotlinMemoryManagement
0 likes · 58 min read
Kotlin Native: Architecture, Compilation, Memory Layout, Interoperability, and Future Outlook
DaTaobao Tech
DaTaobao Tech
Mar 22, 2024 · Backend Development

Understanding JVM Memory, GC, and Performance Tuning

The article explains JVM runtime memory regions, heap allocation and generational layout, object reference types, major garbage‑collection algorithms and collectors, class‑loading phases, and provides practical tuning commands and case studies for optimizing GC pauses, preventing memory leaks, and diagnosing performance bottlenecks.

GarbageCollectionJVMJava
0 likes · 33 min read
Understanding JVM Memory, GC, and Performance Tuning
JD Retail Technology
JD Retail Technology
Nov 22, 2023 · Fundamentals

Understanding Java Class File Structure and JVM Execution Process

This article explains the Java class file format, including its magic number, version, constant pool, access flags, fields, methods, and attributes, and then details how the JVM loads, verifies, prepares, resolves, and initializes classes, manages object memory layout, and executes bytecode using a stack‑based interpreter.

JVMJavaMemoryManagement
0 likes · 21 min read
Understanding Java Class File Structure and JVM Execution Process
JD Tech
JD Tech
Sep 18, 2023 · Fundamentals

Full GC Root Cause Analysis and Resolution in Java Applications

This article documents a step‑by‑step investigation of a high TP99 caused by frequent Full GC in a Java service, describing the diagnostic mindset, tools used, GC trigger conditions, object promotion mechanisms, the impact of AdaptiveSizePolicy and Metaspace, and the concrete configuration and code changes that eliminated the issue.

AdaptiveSizePolicyFullGCJVM
0 likes · 12 min read
Full GC Root Cause Analysis and Resolution in Java Applications
JD Tech
JD Tech
Aug 14, 2023 · Fundamentals

Understanding Java Class File Structure and JVM Loading Process

This article explains the internal structure of Java class files—including magic numbers, versioning, constant pools, access flags, fields, methods, and attributes—illustrates bytecode generation with a sample class, and details the JVM's class loading, verification, preparation, resolution, initialization, memory allocation, object layout, and execution engine.

JVMMemoryManagementRuntime
0 likes · 26 min read
Understanding Java Class File Structure and JVM Loading Process
Su San Talks Tech
Su San Talks Tech
Jan 26, 2023 · Backend Development

How MemorySafeLBQ Prevents OOM in Java Thread Pools: A Deep Dive

This article examines the MemoryLimitedLBQ and MemorySafeLBQ implementations, explains how they use memory‑limiting techniques to avoid Out‑Of‑Memory errors in unbounded LinkedBlockingQueue‑based thread pools, compares their designs, and shows practical code snippets for integrating them into Java projects.

JavaMemoryManagementOOM
0 likes · 13 min read
How MemorySafeLBQ Prevents OOM in Java Thread Pools: A Deep Dive
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Sep 10, 2021 · Backend Development

Using Object Pools in .NET (Core) to Reduce GC Overhead and Improve Performance

This article explains how .NET's Microsoft.Extensions.ObjectPool framework can be used to reuse objects, customize pooling policies, integrate with dependency injection, and extend pooling to collections, StringBuilder, arrays and memory buffers, thereby minimizing garbage‑collection pressure and boosting application throughput.

DependencyInjectionMemoryManagementObjectPool
0 likes · 29 min read
Using Object Pools in .NET (Core) to Reduce GC Overhead and Improve Performance
Liangxu Linux
Liangxu Linux
Jul 31, 2021 · Operations

Optimizing Linux Memory: When to Use Huge Pages and How to Disable THP

This guide explains the difference between standard Huge Pages and Transparent Huge Pages in Linux, outlines the performance benefits and drawbacks of using Huge Pages, and provides step‑by‑step commands and GRUB configuration methods to safely disable Transparent Huge Pages on CentOS systems.

LinuxMemoryManagementTransparentHugePages
0 likes · 9 min read
Optimizing Linux Memory: When to Use Huge Pages and How to Disable THP
Youzan Coder
Youzan Coder
Mar 8, 2019 · Big Data

Why Spark Shuffle Often Runs Out of Memory and How to Fix It

This article examines Spark's memory management and the shuffle process, identifies the components that consume the most memory during shuffle write and read, analyzes common OOM scenarios such as task concurrency and data skew, and offers configuration tips to prevent out‑of‑memory failures.

MemoryManagementOutOfMemoryShuffle
0 likes · 14 min read
Why Spark Shuffle Often Runs Out of Memory and How to Fix It
dbaplus Community
dbaplus Community
Aug 12, 2016 · Backend Development

Designing a High‑Performance In‑Memory Cache: Structures, Locks, and Go Concurrency

This article explores the fundamentals of building a high‑performance in‑memory cache, covering the relationship between caches and KV stores, various cache types, core data structures such as hash tables, lock strategies, rehash techniques, memory management, and network models, with practical examples and Go‑based concurrency designs.

GoMemoryManagementhashtable
0 likes · 20 min read
Designing a High‑Performance In‑Memory Cache: Structures, Locks, and Go Concurrency