Tagged articles
3 articles
Page 1 of 1
Lobster Programming
Lobster Programming
Mar 19, 2025 · Fundamentals

Handle vs Direct Pointer Access in the JVM: Which Is Faster?

An in‑depth look at how the JVM stores object references, comparing handle‑based access with direct pointer access, highlighting their performance trade‑offs, memory overhead, and impact on garbage collection to help developers choose the most suitable approach for their applications.

JVMMemory Managementdirect pointer
0 likes · 3 min read
Handle vs Direct Pointer Access in the JVM: Which Is Faster?
Java Captain
Java Captain
Apr 20, 2018 · Fundamentals

Understanding Object References, Memory Allocation, Garbage Collection, and Parameter Passing in Java

This article explains how Java's `new` keyword allocates objects on the heap, how object references reside on the stack, the relationship between references and objects, the mechanics of reference assignment, garbage collection conditions, and why Java uses value‑passing for method parameters.

Garbage CollectionMemory ManagementParameter Passing
0 likes · 10 min read
Understanding Object References, Memory Allocation, Garbage Collection, and Parameter Passing in Java