final class HotSpotInvocationPlugins extends InvocationPlugins
InvocationPlugins that disables plugins based on runtime configuration.InvocationPlugins.InvocationPluginReceiver, InvocationPlugins.Registration| Modifier and Type | Field and Description |
|---|---|
(package private) HotSpotVMConfig |
config |
parent, plugins| Constructor and Description |
|---|
HotSpotInvocationPlugins(HotSpotVMConfig config,
MetaAccessProvider metaAccess) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkNewNodes(GraphBuilderContext b,
InvocationPlugin plugin,
NodeIterable<Node> newNodes)
Checks a set of nodes added to the graph by an
InvocationPlugin. |
private static boolean |
isClass(ConstantNode node) |
void |
register(InvocationPlugin plugin,
Class<?> declaringClass,
String name,
Class<?>... argumentTypes)
Registers an invocation plugin for a given method.
|
closeRegistration, getParent, lookupInvocation, registerOptional, size, toStringfinal HotSpotVMConfig config
public HotSpotInvocationPlugins(HotSpotVMConfig config, MetaAccessProvider metaAccess)
public void register(InvocationPlugin plugin, Class<?> declaringClass, String name, Class<?>... argumentTypes)
InvocationPluginsmethod.register in class InvocationPluginsargumentTypes - the argument types of the method. Element 0 of this array must be the
Class value for InvocationPlugin.Receiver iff the method is
non-static. Upon returning, element 0 will have been rewritten to
declaringClasspublic void checkNewNodes(GraphBuilderContext b, InvocationPlugin plugin, NodeIterable<Node> newNodes)
InvocationPluginsInvocationPlugin.checkNewNodes in class InvocationPluginsb - the graph builder that applied the pluginplugin - a plugin that was just appliednewNodes - the nodes added to the graph by pluginprivate static boolean isClass(ConstantNode node)