Tagged articles
4 articles
Page 1 of 1
Selected Java Interview Questions
Selected Java Interview Questions
Nov 17, 2024 · Backend Development

Understanding Java Object Allocation: Stack Allocation, TLAB, and Performance Impact

This article examines a Java micro‑benchmark that measures object creation time, explains why printing objects dramatically slows execution, and details JVM allocation strategies such as stack allocation, escape analysis, scalar replacement, and Thread‑Local Allocation Buffers (TLAB) with relevant parameters.

JVMObject AllocationStack Allocation
0 likes · 6 min read
Understanding Java Object Allocation: Stack Allocation, TLAB, and Performance Impact
Cognitive Technology Team
Cognitive Technology Team
Oct 26, 2024 · Fundamentals

Understanding G1 Garbage Collector: Concepts, Heap Regions, Pause Prediction, Object Header, and Allocation Strategies

This article explains the core concepts of the G1 garbage collector, including its memory management duties, heap region types and sizing, pause‑time prediction model, card table and bitmap usage, object header structure, and both fast and slow object allocation strategies.

Garbage CollectionHeap RegionsObject Allocation
0 likes · 9 min read
Understanding G1 Garbage Collector: Concepts, Heap Regions, Pause Prediction, Object Header, and Allocation Strategies
Java Captain
Java Captain
Jul 9, 2018 · Fundamentals

Fundamental Computer Concepts and Java JVM Memory Architecture

This article explains basic computer concepts such as storage units, registers, memory hierarchy, kernel and user space, CPU word length, and then details the Java Virtual Machine's runtime data areas, object creation process, and object reference mechanisms.

CPU architectureJVMMemory Hierarchy
0 likes · 14 min read
Fundamental Computer Concepts and Java JVM Memory Architecture