APIdia Launch Partner
Top Methods
jdk.internal.access

public Interface JavaLangRefAccess

Imports
java.lang.ref.ReferenceQueue

Method Summary

Modifier and TypeMethod and Description
public void
runFinalization()

Runs the finalization methods of any objects pending finalization.

public void
startThreads()

Starts the Finalizer and Reference Handler threads.

public boolean

Returns:

true if there were any pending java.lang.ref.References, false otherwise.
waitForReferenceProcessing
()

Wait for progress in java.lang.ref.Reference processing.

Method Detail

runFinalizationback to summary
public void runFinalization()

Runs the finalization methods of any objects pending finalization. Invoked by Runtime.runFinalization()

startThreadsback to summary
public void startThreads()

Starts the Finalizer and Reference Handler threads.

waitForReferenceProcessingback to summary
public boolean waitForReferenceProcessing() throws InterruptedException

Wait for progress in java.lang.ref.Reference processing. If there aren't any pending java.lang.ref.References, return immediately.

Returns:boolean

true if there were any pending java.lang.ref.References, false otherwise.