Tagged articles
3 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 23, 2024 · Fundamentals

Understanding JVM Memory Structure and Object Lifecycle

This article explains the JVM memory architecture—including heap, stack, native stack, method area, and program counter—detailing heap generations, object allocation strategies, object layout, reference types, and the complete lifecycle of Java objects from creation to garbage collection.

Garbage CollectionJVMMetaspace
0 likes · 11 min read
Understanding JVM Memory Structure and Object Lifecycle
Test Development Learning Exchange
Test Development Learning Exchange
Aug 7, 2024 · Fundamentals

Master Python’s __new__, __init__, and __del__ Magic Methods with Real Code Examples

This article explains how Python’s __new__, __init__, and __del__ magic methods work, shows when to use each, and provides step‑by‑step code examples—including singleton creation, inheritance initialization, resource cleanup, and metaclass usage—to help developers master object lifecycle control.

Object LifecyclePythonTutorial
0 likes · 6 min read
Master Python’s __new__, __init__, and __del__ Magic Methods with Real Code Examples