Tag

Finalize

1 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 7, 2020 · Fundamentals

Deep Understanding of Java's final, finally, and finalize Keywords

This article explains the distinct purposes, usage rules, and underlying bytecode behavior of Java's final, finally, and finalize keywords, covering class and method immutability, variable constancy, guaranteed execution blocks, deprecated finalization, and common performance misconceptions.

Exception HandlingFinalizeJava
0 likes · 14 min read
Deep Understanding of Java's final, finally, and finalize Keywords
Sohu Tech Products
Sohu Tech Products
Jul 15, 2020 · Fundamentals

Inside the JVM: Roles of Internal Threads like FinalizerThread, AppClassLoader, and VMThread

The article anthropomorphizes several JVM internal threads—FinalizerThread, AppClassLoader, ReferenceHandler, and VMThread—detailing how they handle object finalization, class loading, special reference queues, and VM operations, providing a whimsical yet informative overview of JVM internals.

FinalizeGarbage CollectionJVM
0 likes · 7 min read
Inside the JVM: Roles of Internal Threads like FinalizerThread, AppClassLoader, and VMThread
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 14, 2020 · Fundamentals

How the JVM Determines Object Liveness and the Role of References and Finalization

This article explains the JVM's object liveness determination methods, covering reference counting and reachability analysis, the four Java reference types, and how finalize() can (but should not) rescue objects, illustrated with code examples and memory‑usage results.

FinalizeGarbage CollectionJVM
0 likes · 9 min read
How the JVM Determines Object Liveness and the Role of References and Finalization
Didi Tech
Didi Tech
Mar 28, 2019 · Mobile Development

Analysis and Mitigation of Android finalize() TimeoutException Crashes

The article examines Android crashes caused by the finalize() method exceeding its watchdog timeout, explains the underlying daemon implementation and typical causes such as long‑running finalizers, lock contention and low‑priority threads, and recommends avoiding finalize, reducing finalizable objects, or suppressing the watchdog exception as practical mitigations.

AndroidFinalizeTimeoutException
0 likes · 15 min read
Analysis and Mitigation of Android finalize() TimeoutException Crashes
Qunar Tech Salon
Qunar Tech Salon
Nov 13, 2014 · Fundamentals

Understanding Java Garbage Collection: Mechanisms, Memory Regions, and Practical Examples

This tutorial explains how Java's automatic garbage collection works, covering the roles of System.gc(), memory regions such as Eden, Survivor and Old generations, reference types, object finalization, and includes code examples that illustrate GC eligibility and OutOfMemoryError scenarios.

FinalizeJVMJava
0 likes · 10 min read
Understanding Java Garbage Collection: Mechanisms, Memory Regions, and Practical Examples