本文整理汇总了Java中jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider类的典型用法代码示例。如果您正苦于以下问题:Java HotSpotConstantReflectionProvider类的具体用法?Java HotSpotConstantReflectionProvider怎么用?Java HotSpotConstantReflectionProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
HotSpotConstantReflectionProvider类属于jdk.vm.ci.hotspot包,在下文中一共展示了HotSpotConstantReflectionProvider类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: CodeInstallerTest
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected CodeInstallerTest() {
JVMCIBackend backend = JVMCI.getRuntime().getHostJVMCIBackend();
metaAccess = backend.getMetaAccess();
codeCache = backend.getCodeCache();
constantReflection = (HotSpotConstantReflectionProvider) backend.getConstantReflection();
arch = codeCache.getTarget().arch;
Method method = null;
try {
method = CodeInstallerTest.class.getMethod("dummyMethod");
} catch (NoSuchMethodException e) {
Assert.fail();
}
dummyMethod = metaAccess.lookupJavaMethod(method);
}
示例2: createGraphBuilderPlugins
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected Plugins createGraphBuilderPlugins(CompilerConfiguration compilerConfiguration, GraalHotSpotVMConfig config, OptionValues options, TargetDescription target,
HotSpotConstantReflectionProvider constantReflection, HotSpotHostForeignCallsProvider foreignCalls, HotSpotMetaAccessProvider metaAccess,
HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements, HotSpotWordTypes wordTypes, HotSpotStampProvider stampProvider) {
Plugins plugins = HotSpotGraphBuilderPlugins.create(compilerConfiguration, config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, stampProvider, replacements);
AMD64GraphBuilderPlugins.register(plugins, replacements.getDefaultReplacementBytecodeProvider(), (AMD64) target.arch, GraalArithmeticStubs.getValue(options));
return plugins;
}
示例3: createGraphBuilderPlugins
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected Plugins createGraphBuilderPlugins(CompilerConfiguration compilerConfiguration, GraalHotSpotVMConfig config, HotSpotMetaAccessProvider metaAccess,
HotSpotConstantReflectionProvider constantReflection, HotSpotForeignCallsProvider foreignCalls, HotSpotStampProvider stampProvider,
HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements, HotSpotWordTypes wordTypes) {
Plugins plugins = HotSpotGraphBuilderPlugins.create(compilerConfiguration, config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, stampProvider, replacements);
SPARCGraphBuilderPlugins.register(plugins, replacements.getDefaultReplacementBytecodeProvider());
return plugins;
}
示例4: createGraphBuilderPlugins
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected Plugins createGraphBuilderPlugins(CompilerConfiguration compilerConfiguration, GraalHotSpotVMConfig config, HotSpotConstantReflectionProvider constantReflection,
HotSpotHostForeignCallsProvider foreignCalls, HotSpotMetaAccessProvider metaAccess, HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements,
HotSpotWordTypes wordTypes, HotSpotStampProvider stampProvider) {
Plugins plugins = HotSpotGraphBuilderPlugins.create(compilerConfiguration, config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, stampProvider, replacements);
AArch64GraphBuilderPlugins.register(plugins, replacements.getDefaultReplacementBytecodeProvider());
return plugins;
}
示例5: DefaultHotSpotLoweringProvider
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
public DefaultHotSpotLoweringProvider(HotSpotGraalRuntimeProvider runtime, MetaAccessProvider metaAccess, ForeignCallsProvider foreignCalls, HotSpotRegistersProvider registers,
HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
super(metaAccess, foreignCalls, target);
this.runtime = runtime;
this.registers = registers;
this.constantReflection = constantReflection;
}
示例6: createGraphBuilderPlugins
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected Plugins createGraphBuilderPlugins(GraalHotSpotVMConfig config, OptionValues options, TargetDescription target, HotSpotConstantReflectionProvider constantReflection,
HotSpotHostForeignCallsProvider foreignCalls,
HotSpotMetaAccessProvider metaAccess, HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements, HotSpotWordTypes wordTypes,
HotSpotStampProvider stampProvider) {
Plugins plugins = HotSpotGraphBuilderPlugins.create(config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, stampProvider, replacements);
AMD64GraphBuilderPlugins.register(plugins, replacements.getReplacementBytecodeProvider(), (AMD64) target.arch, GraalArithmeticStubs.getValue(options));
return plugins;
}
示例7: createGraphBuilderPlugins
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected Plugins createGraphBuilderPlugins(GraalHotSpotVMConfig config, HotSpotMetaAccessProvider metaAccess, HotSpotConstantReflectionProvider constantReflection,
HotSpotForeignCallsProvider foreignCalls, HotSpotStampProvider stampProvider, HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements,
HotSpotWordTypes wordTypes) {
Plugins plugins = HotSpotGraphBuilderPlugins.create(config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, stampProvider, replacements);
SPARCGraphBuilderPlugins.register(plugins, replacements.getReplacementBytecodeProvider());
return plugins;
}
示例8: createGraphBuilderPlugins
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected Plugins createGraphBuilderPlugins(GraalHotSpotVMConfig config, HotSpotConstantReflectionProvider constantReflection, HotSpotHostForeignCallsProvider foreignCalls,
HotSpotMetaAccessProvider metaAccess, HotSpotSnippetReflectionProvider snippetReflection, HotSpotReplacementsImpl replacements, HotSpotWordTypes wordTypes,
HotSpotStampProvider stampProvider) {
Plugins plugins = HotSpotGraphBuilderPlugins.create(config, wordTypes, metaAccess, constantReflection, snippetReflection, foreignCalls, stampProvider, replacements);
AArch64GraphBuilderPlugins.register(plugins, replacements.getReplacementBytecodeProvider());
return plugins;
}
示例9: createSnippetReflection
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected HotSpotSnippetReflectionProvider createSnippetReflection(HotSpotGraalRuntimeProvider runtime, HotSpotConstantReflectionProvider constantReflection, WordTypes wordTypes) {
return new HotSpotSnippetReflectionProvider(runtime, constantReflection, wordTypes);
}
示例10: createLowerer
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected HotSpotLoweringProvider createLowerer(HotSpotGraalRuntimeProvider runtime, HotSpotMetaAccessProvider metaAccess, HotSpotForeignCallsProvider foreignCalls,
HotSpotRegistersProvider registers, HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
return new AMD64HotSpotLoweringProvider(runtime, metaAccess, foreignCalls, registers, constantReflection, target);
}
示例11: AMD64HotSpotLoweringProvider
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
public AMD64HotSpotLoweringProvider(HotSpotGraalRuntimeProvider runtime, MetaAccessProvider metaAccess, ForeignCallsProvider foreignCalls, HotSpotRegistersProvider registers,
HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
super(runtime, metaAccess, foreignCalls, registers, constantReflection, target);
}
示例12: SPARCHotSpotLoweringProvider
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
public SPARCHotSpotLoweringProvider(HotSpotGraalRuntimeProvider runtime, MetaAccessProvider metaAccess, ForeignCallsProvider foreignCalls, HotSpotRegistersProvider registers,
HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
super(runtime, metaAccess, foreignCalls, registers, constantReflection, target);
}
示例13: createLowerer
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected HotSpotLoweringProvider createLowerer(HotSpotGraalRuntimeProvider runtime, HotSpotMetaAccessProvider metaAccess, HotSpotForeignCallsProvider foreignCalls,
HotSpotRegistersProvider registers, HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
return new SPARCHotSpotLoweringProvider(runtime, metaAccess, foreignCalls, registers, constantReflection, target);
}
示例14: AArch64HotSpotLoweringProvider
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
public AArch64HotSpotLoweringProvider(HotSpotGraalRuntimeProvider runtime, MetaAccessProvider metaAccess, ForeignCallsProvider foreignCalls, HotSpotRegistersProvider registers,
HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
super(runtime, metaAccess, foreignCalls, registers, constantReflection, target);
}
示例15: createLowerer
import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected HotSpotLoweringProvider createLowerer(HotSpotGraalRuntimeProvider runtime, HotSpotMetaAccessProvider metaAccess, HotSpotForeignCallsProvider foreignCalls,
HotSpotRegistersProvider registers, HotSpotConstantReflectionProvider constantReflection, TargetDescription target) {
return new AArch64HotSpotLoweringProvider(runtime, metaAccess, foreignCalls, registers, constantReflection, target);
}