public class HotSpotReplacementsImpl extends ReplacementsImpl
ReplacementsImpl.ClassReplacements, ReplacementsImpl.GraphMaker
InlineInvokePlugin.InlineInfo
Modifier and Type | Field and Description |
---|---|
private HotSpotVMConfig |
config |
graphs, providers, snippetReflection, target
Constructor and Description |
---|
HotSpotReplacementsImpl(Providers providers,
SnippetReflectionProvider snippetReflection,
HotSpotVMConfig config,
TargetDescription target) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasGenericInvocationPluginAnnotation(ResolvedJavaMethod method) |
protected ResolvedJavaMethod |
registerMethodSubstitution(ReplacementsImpl.ClassReplacements cr,
Executable originalMethod,
Method substituteMethod)
Registers a method substitution.
|
createGraphMaker, getAllReplacements, getClassReplacements, getGraphBuilderPlugins, getSnippet, getSnippet, getSnippetTemplateCache, getSubstitution, getSubstitutionMethod, hasSubstitution, makeGraph, notifyNotInlined, registerSnippet, registerSnippetTemplateCache, registerSubstitutions, resolveClass, setGraphBuilderPlugins, shouldInlineInvoke
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubstitution, hasSubstitution
notifyAfterInline, notifyBeforeInline
private final HotSpotVMConfig config
public HotSpotReplacementsImpl(Providers providers, SnippetReflectionProvider snippetReflection, HotSpotVMConfig config, TargetDescription target)
protected boolean hasGenericInvocationPluginAnnotation(ResolvedJavaMethod method)
hasGenericInvocationPluginAnnotation
in class ReplacementsImpl
protected ResolvedJavaMethod registerMethodSubstitution(ReplacementsImpl.ClassReplacements cr, Executable originalMethod, Method substituteMethod)
ReplacementsImpl
registerMethodSubstitution
in class ReplacementsImpl
originalMethod
- a method or constructor being substitutedsubstituteMethod
- the substitute method