Module com.microsoft.gctoolkit.api
Package com.microsoft.gctoolkit.jvm
Class UnifiedJavaVirtualMachine
- java.lang.Object
-
- com.microsoft.gctoolkit.jvm.AbstractJavaVirtualMachine
-
- com.microsoft.gctoolkit.jvm.UnifiedJavaVirtualMachine
-
- All Implemented Interfaces:
JavaVirtualMachine
public class UnifiedJavaVirtualMachine extends AbstractJavaVirtualMachine
An implementation of JavaVirtualMachine that uses io.vertx verticles to feed lines to the parser(s) and post events to the aggregators. This implementation is here in the vertx module so that the api and parser modules can exist without having to import io.vertx. In the api module, the class GCToolKit uses the classloader to load UnifiedJavaVirtualMachine.
-
-
Constructor Summary
Constructors Constructor Description UnifiedJavaVirtualMachine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccepts(DataSource logFile)booleanisUnifiedLogging()True if the log is unified or false for preunified-
Methods inherited from class com.microsoft.gctoolkit.jvm.AbstractJavaVirtualMachine
analyze, getAggregation, getCommandLine, getEstimatedJVMStartTime, getJVMTerminationTime, getRuntimeDuration, getTimeOfFirstEvent, isCMS, isG1GC, isParallel, isSerial, isShenandoah, isZGC, setDataSource, setEstimatedJVMStartTime
-
-
-
-
Method Detail
-
accepts
public boolean accepts(DataSource logFile)
- Parameters:
logFile- the log to be considered. Returntrueif the JavaVirtualMachine implementation can work with the GC log.- Returns:
trueif the JavaVirtualMachine implementation can work with the GC Log.
-
isUnifiedLogging
public boolean isUnifiedLogging()
Description copied from interface:JavaVirtualMachineTrue if the log is unified or false for preunified- Returns:
- true is the log is from JDK 9+
-
-