Top Description Inners Fields Constructors Methods
jdk.jfr.internal

pack-priv final Class ShutdownHook

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Imports
java.io.IOException, java.security.AccessControlContext, .AccessController, .PrivilegedActionException, .PrivilegedExceptionAction, jdk.jfr.RecordingState, jdk.jfr.internal.util.Utils

Class responsible for dumping recordings on exit

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private final PlatformRecorder
pack-priv Object

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
private WriteableUserPath
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

recorderback to summary
private final PlatformRecorder recorder
tlabDummyObjectback to summary
pack-priv Object tlabDummyObject

Constructor Detail

ShutdownHookback to summary
pack-priv ShutdownHook(PlatformRecorder recorder)

Method Detail

dumpback to summary
private void dump(PlatformRecording recording)
makeDumpOnExitPathback to summary
private WriteableUserPath makeDumpOnExitPath(PlatformRecording recording)
Annotations
@SuppressWarnings:removal
runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

Annotations
@Override
jdk.jfr.internal back to summary

pack-priv final Class ShutdownHook.ExceptionHandler

extends Object
implements UncaughtExceptionHandler
Class Inheritance
All Implemented Interfaces
java.lang.Thread.UncaughtExceptionHandler

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
uncaughtException(Thread
the thread
t
,
Throwable
the exception
e
)

Implements java.lang.Thread.UncaughtExceptionHandler.uncaughtException.

Method invoked when the given thread terminates due to the given uncaught exception.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ExceptionHandlerback to summary
pack-priv ExceptionHandler()

Method Detail

uncaughtExceptionback to summary
public void uncaughtException(Thread t, Throwable e)

Implements java.lang.Thread.UncaughtExceptionHandler.uncaughtException.

Doc from java.lang.Thread.UncaughtExceptionHandler.uncaughtException.

Method invoked when the given thread terminates due to the given uncaught exception.

Any exception thrown by this method will be ignored by the Java Virtual Machine.

Parameters
t:Thread

the thread

e:Throwable

the exception

Annotations
@Override