public class DataReaderUnifiedJvmLogging extends AbstractDataReader
Currently needs the "gc" selector with "info" level and "uptime,level,tags" decorators (Java 9.0.1). Also supports "gc*" selector with "trace" level and "time,uptime,level,tags" decorators, but will ignore some of the debug and all trace level info (evaluates the following tags: "gc", "gc,start", "gc,heap", "gc,metaspace".
-Xlog:gc:file="path-to-file"-Xlog:gc=info:file="path-to-file":tags,uptime,level-Xlog:gc*=trace:file="path-to-file":tags,time,uptime,level[0.731s][info][gc ] GC(0) Pause Init Mark 1.021ms [0.735s][info][gc ] GC(0) Concurrent marking 74M->74M(128M) 3.688ms [43.948s][info][gc ] GC(831) Pause Full (Allocation Failure) 7943M->6013M(8192M) 14289.335ms
For more information about Shenandoah see: Shenandoah Wiki at OpenJDK
gcResource, in| Modifier | Constructor and Description |
|---|---|
protected |
DataReaderUnifiedJvmLogging(GCResource gcResource,
InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
GCModel |
read()
A call to this method should read a
GCModel. |
getDataReaderTools, getLogger, shouldContinueprotected DataReaderUnifiedJvmLogging(GCResource gcResource, InputStream in) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic GCModel read() throws IOException
DataReaderGCModel.read in interface DataReaderread in class AbstractDataReaderIOException - thrown, when an exception reading the file occurredCopyright © 2019. All rights reserved.