Tag

MemoryManagement

1 views collected around this technical thread.

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.

ConcurrencyMemoryManagementWeakReference
0 likes · 10 min read
Understanding Java ThreadLocalMap: Structure, Operations, and Memory Management
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.

BackendDevelopmentJVMMemoryManagement
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.

KotlinMemoryManagementMultiplatform
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.

GarbageCollectionJVMMemoryManagement
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.

JVMMemoryManagementbytecode
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.

JVMMemoryManagementbytecode
0 likes · 26 min read
Understanding Java Class File Structure and JVM Loading Process
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.

DependencyInjectionMemoryManagementPerformance
0 likes · 29 min read
Using Object Pools in .NET (Core) to Reduce GC Overhead and Improve Performance
Qunar Tech Salon
Qunar Tech Salon
Dec 14, 2014 · Backend Development

Optimizing the SPR Library in LinkedIn Feed Mixer: Reducing Memory Usage and Latency

The article explains how LinkedIn's Feed Mixer uses the SPR library and presents several Java performance optimizations—including careful loop traversal, pre‑sizing collections, lazy evaluation, pre‑compiling regexes, caching, and cautious use of String.intern—to dramatically cut memory consumption and latency.

CachingLinkedInMemoryManagement
0 likes · 8 min read
Optimizing the SPR Library in LinkedIn Feed Mixer: Reducing Memory Usage and Latency