Below, a number of relevant System Properties are listed.
Note
|
All boolean properties below are read using net.openhft.chronicle.core.Jvm.getBoolean(java.lang.String) ,
and so are enabled if either -Dflag or -Dflag=true or -Dflag=yes
|
Property Key | Default | Description | Java Variable Name (Type) |
---|---|---|---|
background.releaser |
|
Turn off the BackgroundResourceReleaser thread to manage resource releasing in your own thread |
BG_RELEASER (boolean) |
chronicle.announcer.disable |
|
If enabled, disables the InternalAnnouncer |
DISABLE_ANNOUNCEMENT (boolean) |
debug |
|
Returns if the JVM is running in debug mode |
IS_DEBUG (boolean) |
disable.discard.warning |
|
Called from finalise() implementations. If 'true', message is displayed stating that resource cannot be closed, and IllegalStateException is thrown |
DISABLE_DISCARD_WARNING (boolean) |
disable.perf.info |
|
if enabled, returns NullExceptionHandler |
disablePerfInfo (boolean) |
disable.resource.warning |
|
If enabled, returns that resource tracing is turned on |
boolean |
disable.thread.safety |
|
If enabled, threadSafetyCheck throws IllegalStateException in AbstractReferenceCounted.java and message thrown stating which component is not thread safe |
DISABLE_THREAD_SAFETY (boolean) |
jfr |
|
Returns if the JVM is running in flight recorder mode |
IS_FLIGHT_RECORDER (boolean) |
jvm.resources.tracing |
|
Returns if certain chronicle resources (such as memory regions) are traced. Reference counting can be enabled, which incurs slightly less performance, but it provides a means of detecting proper release of resources |
RESOURCE_TRACING (boolean) |
jvm.safepoint.enabled |
|
If enabled, inserts a low-cost Java safe-point, which can help to find blockages. Jvm.safepoint can also be added when monitoring the event loop in Chronicle-Threads to help identify hotspots in the code |
SAFEPOINT_ENABLED (boolean) |
reference.warn.count |
unknown |
If there is a high reserve count (relative to referenceCounted), warning is thrown stating the referenceName with the high reserve count |
WARN_COUNT (int) |
reference.warn.secs |
0.003 |
If time of inThreadPerformanceRelease is greater than default, message is thrown to state the ms it takes to performRelease |
WARN_NS (long) |
report.unoptimised |
|
If enabled, returns usage of unoptimised method |
REPORT_UNOPTIMISED (boolean) |
warnAndCloseIfNotClosed |
|
If 'false', returns the DEBUG exception handler, which prints as System.out or DEBUG level logging |
boolean |