public class HotSpotNativeFunctionHandle extends Object implements NativeFunctionHandle
Modifier and Type | Field and Description |
---|---|
private Class<?>[] |
argumentTypes |
private InstalledCode |
code |
private String |
name |
Constructor and Description |
---|
HotSpotNativeFunctionHandle(InstalledCode code,
String name,
Class<?>... argumentTypes) |
Modifier and Type | Method and Description |
---|---|
Object |
call(Object... args) |
private boolean |
checkArgs(Object... args) |
String |
toString() |
private void |
traceCall(Object... args) |
private void |
traceResult(Object result) |
private final InstalledCode code
private final Class<?>[] argumentTypes
public HotSpotNativeFunctionHandle(InstalledCode code, String name, Class<?>... argumentTypes)
private void traceResult(Object result)
public Object call(Object... args)
call
in interface NativeFunctionHandle