- All Superinterfaces:
AutoCloseable
Interface of jitdump for perf command on Linux.
- Author:
- Yasumasa Suenaga
-
Method Summary
Modifier and TypeMethodDescriptionstatic JitDump
getInstance
(Path dir) Get instance of JitDump.void
writeFunction
(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.PlatformException
IOException
-
writeFunction
Write method info to jitdump.- Parameters:
method
- MethodInfo should be written.
-