GARBAGE Collection

xiaoxiao2021-03-06  47

Reference Objects and Garbage Collection

The Reference Object application programming interface (API) is new in the Java Development Kit (JDK) 1.2. This API allows a program to maintain special references to objects that allow the program to interact with the garbage collector in limited ways. Not all programs require this level of interaction with the garbage collector. for example, a program that keeps a lot of objects in memory or a program that needs to perform cleanup operations on related objects before an object is reclaimed might be good candidates for using the Reference Objects API.

Tuning Garbage Collection with the 5.0 Java [TM] Virtual Machine

转载请注明原文地址:https://www.9cbs.com/read-79976.html

New Post(0)