public class FinalizerThreadInfo extends ThreadInfo
ThreadInfo.InvokedStackIterator, ThreadInfo.StackIterator, ThreadInfo.State
appCtx, attributes, ci, executedInstructions, id, nextPc, objRef, pendingException, pendingSUTExceptionRequest, returnedDirectCall, stackDepth, targetRef, threadData, tlIdx, top
annotations, attr, typeAnnotations
Modifier | Constructor and Description |
---|---|
protected |
FinalizerThreadInfo(VM vm,
ApplicationContext appCtx,
int id) |
Modifier and Type | Method and Description |
---|---|
protected void |
createFinalizerThreadObject(SystemClassLoaderInfo sysCl) |
ElementInfo |
getFinalizeQueue() |
ElementInfo |
getFinalizerQueuedInstance(ElementInfo ei)
This method is invoked by the sweep() phase of the garbage collection process (GenericHeap.sweep()).
|
boolean |
hasQueuedFinalizers() |
protected boolean |
isIdle() |
boolean |
isSystemThread() |
protected void |
notifyOnSemaphore() |
boolean |
scheduleFinalizer() |
protected void |
startFinalizerThread()
Pushes a frame corresponding to Thread.run() into the finalizer thread stack to
start the thread.
|
protected void |
waitOnSemaphore() |
addToThreadGroup, advancePC, atMethod, atPosition, atReturn, breakTransition, breakTransition, callUncaughtHandler, callUncaughtHandler, checkAssertion, checkConsistency, checkNextChoiceGeneratorSet, clearPendingException, clone, compareTo, computeId, countStackFrames, createAndThrowException, createAndThrowException, createAndThrowException, createMainThreadGroup, createMainThreadObject, createStackTraceElements, dumpStoringData, enableEmptyTransition, enter, executeInstruction, executeInstructionHidden, executeMethodAtomic, executeMethodHidden, executeTransition, exit, getApplicationContext, getBlockedObject, getCachedMemento, getCalleeThis, getCalleeThis, getCallerStackFrame, getCallerStackFrame, getClassInfo, getClassInfo, getCurrentThread, getElementInfo, getEntryMethod, getEnv, getExecutedInstructions, getExecutingClassInfo, getGlobalId, getGlobalUncaughtHandler, getHandlerContextFor, getHeap, getId, getInstanceUncaughtHandler, getInvokedStackFrames, getLastInvokedStackFrame, getLastNonSyntheticStackFrame, getLine, getLockCount, getLockedObjectReferences, getLockedObjects, getLockObject, getLockRef, getMemento, getMemento, getMJIEnv, getModifiableElementInfo, getModifiableFrame, getModifiableLastNonSyntheticStackFrame, getModifiableThreadObject, getModifiableTopFrame, getName, getNextPC, getPC, getPendingException, getPriority, getReturnedDirectCall, getRunnableRef, getScheduler, getSnapshot, getStack, getStackDepth, getStackFrameExecuting, getStackTrace, getState, getStateDescription, getStateName, getSystemClassLoaderInfo, getThis, getThisElementInfo, getThreadGroupRef, getThreadGroupUncaughtHandler, getThreadObject, getThreadObjectClassInfo, getThreadObjectRef, getTopFrame, getTopFrameMethodInfo, getVM, haltOnThrow, hasBeenStarted, hasChanged, hasDataChanged, hash, hasLockedObjects, hasNextChoiceGenerator, hasOtherRunnables, hasReturnedFromDirectCall, hasReturnedFromDirectCall, hasStackChanged, hasUncaughtHandler, holdsLock, init, interrupt, invokedStackFrames, isAlive, isAtomic, isBlocked, isBlockedOrNotified, isCalleeThis, isClinitOnStack, isCtorOnStack, isCurrentThread, isDaemon, isEmptyTransitionEnabled, isExecutingAtomically, isFirstStepInsn, isInCtor, isInCurrentThreadList, isInNativeMethod, isInstructionSkipped, isInterrupted, isLockOwner, isNew, isNotified, isPostExec, isPreExec, isRunnable, isSleeping, isStopped, isSuspended, isTerminated, isThis, isTimedOut, isTimeoutRunnable, isTimeoutWaiting, isUnblocked, isUncaughtHandlerOnStack, isWaiting, isWaitingOrTimedOut, iterator, leave, markTdChanged, markTfChanged, markUnchanged, maxTransitionLengthExceeded, mixinExecutionStateHash, popAndGetModifiableTopFrame, popAndGetTopFrame, popDirectCallFrame, popFrame, popUncaughtHandlerFrame, printPendingExceptionOn, printStackContent, printStackTrace, printStackTrace, printStackTrace, processPendingSUTExceptionRequest, pushFrame, reExecuteInstruction, requestSUTException, reschedule, resetEmptyTransition, resetLockRef, resetTimedOut, resetTransientAttributes, resolveReferencedClass, restoreThreadData, resume, setBlockedInAtomicSection, setCachedMemento, setLockCount, setNextChoiceGenerator, setNextPC, setPC, setPriority, setRunning, setSleeping, setState, setStopped, setTerminated, setTimedOut, setTopFrame, skipInstruction, skipInstruction, skipInstructionLogging, suspend, threadDataClone, throwException, throwStopException, toString, unwindTo, unwindToFirstFrame, willBeRunnable, willReExecuteInstruction
addAnnotation, addAnnotations, addAttr, addTypeAnnotation, addTypeAnnotations, attrIterator, attrIterator, getAnnotation, getAnnotations, getAttr, getAttr, getDeclaredAnnotations, getNextAttr, getTargetTypeAnnotations, getTypeAnnotation, getTypeAnnotations, hasAnnotation, hasAnnotations, hasAttr, hasAttr, hasAttrValue, hasTypeAnnotation, hasTypeAnnotations, removeAttr, replaceAttr, setAnnotations, setAttr, setTypeAnnotations
protected FinalizerThreadInfo(VM vm, ApplicationContext appCtx, int id)
protected void createFinalizerThreadObject(SystemClassLoaderInfo sysCl)
protected void startFinalizerThread()
public boolean hasQueuedFinalizers()
public ElementInfo getFinalizeQueue()
public ElementInfo getFinalizerQueuedInstance(ElementInfo ei)
public boolean scheduleFinalizer()
protected void waitOnSemaphore()
protected void notifyOnSemaphore()
protected boolean isIdle()
public boolean isSystemThread()
isSystemThread
in class ThreadInfo