- All Superinterfaces:
AutoCloseable
Interface of jitdump for perf command on Linux.
- Author:
- Yasumasa Suenaga
-
Method Summary
Modifier and TypeMethodDescriptionstatic JitDumpgetInstance(Path dir) Get instance of JitDump.voidwriteFunction(CodeSegment.MethodInfo method) Write method info to jitdump.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getInstance
static JitDump getInstance(Path dir) throws UnsupportedPlatformException, PlatformException, IOException Get instance of JitDump.- Parameters:
dir- Base directory which jitdump is generated.- Throws:
UnsupportedPlatformException- if the call happens on unsupported platform.PlatformExceptionIOException
-
writeFunction
Write method info to jitdump.- Parameters:
method- MethodInfo should be written.
-