public class JitManager extends Object
| Constructor and Description |
|---|
JitManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clear native modules and jits.
|
static HybridSeJitWrapper |
getJit(String tag)
Return JIT specified by tag.
|
static void |
initCore() |
static void |
initCore(String jsdkCoreLibraryPath) |
static void |
initJitModule(String tag,
ByteBuffer moduleBuffer)
Init llvm module specified by tag.
|
static void |
initJitModule(String tag,
ByteBuffer moduleBuffer,
String jsdkCoreLibraryPath)
Init llvm module specified by tag.
|
static void |
removeModule(String tag)
Remove native module specified by tag.
|
public static HybridSeJitWrapper getJit(String tag)
public static void initCore()
public static void initCore(String jsdkCoreLibraryPath)
public static void initJitModule(String tag, ByteBuffer moduleBuffer)
tag - tag specified a jitmoduleBuffer - ByteBuffer used to initialize native modulepublic static void initJitModule(String tag, ByteBuffer moduleBuffer, String jsdkCoreLibraryPath)
tag - tag specified a jitmoduleBuffer - ByteBuffer used to initialize native modulejsdkCoreLibraryPath - the file path of jsdk core librarypublic static void removeModule(String tag)
tag - module tagpublic static void clear()
Copyright © 2021. All rights reserved.