Top Description Constructors Methods
jdk.jfr.internal.dcmd

pack-priv final Class DCmdConfigure

extends AbstractDCmd
Class Inheritance
Imports
java.io.IOException, jdk.jfr.FlightRecorder, jdk.jfr.internal.LogLevel, .LogTag, .Logger, .Options, .PrivateAccess, .Repository, .SecuritySupport.SafePath

JFR.configure - invoked from native

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

result
execute
(boolean verbose, String
the path
repositoryPath
,
String
path to dump to on fatal error (oom)
dumpPath
,
Integer
depth of stack traces
stackDepth
,
Long
number of global buffers
globalBufferCount
,
Long
size of global buffers
globalBufferSize
,
Long
size of thread buffer for events
threadBufferSize
,
Long
Size of in memory buffer
memorySize
,
Long
threshold at which a new chunk is created in the disk repository
maxChunkSize
,
Boolean
if files in the repository should be deleted on exit.
preserveRepository
)

Execute JFR.configure.

protected void
public Argument[]
private void
private void
private void
public String[]
private void
private void
private void
private void
private void
private void
Inherited from jdk.jfr.internal.dcmd.AbstractDCmd:
exampleDirectoryexampleFilenameexampleRepositoryexecuteexpandFilenamefindRecordinggetFlightRecordergetOutputgetPidgetRecordingsgetResultisInteractivelogWarningprintprintprintBytesprintHelpTextprintlnprintlnprintPathprintPathprintTimespanquoteIfNeededreportOperationCompleteresolvePath

Constructor Detail

DCmdConfigureback to summary
pack-priv DCmdConfigure()

Method Detail

executeback to summary
public String[] execute(boolean verbose, String repositoryPath, String dumpPath, Integer stackDepth, Long globalBufferCount, Long globalBufferSize, Long threadBufferSize, Long memorySize, Long maxChunkSize, Boolean preserveRepository) throws DCmdException

Execute JFR.configure.

Parameters
repositoryPath:String

the path

dumpPath:String

path to dump to on fatal error (oom)

stackDepth:Integer

depth of stack traces

globalBufferCount:Long

number of global buffers

globalBufferSize:Long

size of global buffers

threadBufferSize:Long

size of thread buffer for events

memorySize:Long

Size of in memory buffer

maxChunkSize:Long

threshold at which a new chunk is created in the disk repository

preserveRepository:Boolean

if files in the repository should be deleted on exit.

Returns:String[]

result

Exceptions
DCmdException:
if the dump could not be completed
executeback to summary
protected void execute(ArgumentParser parser) throws DCmdException

Implements abstract jdk.jfr.internal.dcmd.AbstractDCmd.execute.

Annotations
@Override
getArgumentInfosback to summary
public Argument[] getArgumentInfos()

Implements abstract jdk.jfr.internal.dcmd.AbstractDCmd.getArgumentInfos.

Annotations
@Override
printDumpPathback to summary
private void printDumpPath()
printGlobalBufferCountback to summary
private void printGlobalBufferCount()
printGlobalBufferSizeback to summary
private void printGlobalBufferSize()
printHelpback to summary
public String[] printHelp()

Implements abstract jdk.jfr.internal.dcmd.AbstractDCmd.printHelp.

Annotations
@Override
printMaxChunkSizeback to summary
private void printMaxChunkSize()
printMemorySizeback to summary
private void printMemorySize()
printPreserveRepositoryback to summary
private void printPreserveRepository()
printRepositoryPathback to summary
private void printRepositoryPath()
printStackDepthback to summary
private void printStackDepth()
printThreadBufferSizeback to summary
private void printThreadBufferSize()