当前位置: 首页>>代码示例>>Java>>正文


Java HotSpotConstantReflectionProvider类代码示例

本文整理汇总了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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:17,代码来源:CodeInstallerTest.java

示例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;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:8,代码来源:AMD64HotSpotBackendFactory.java

示例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;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:8,代码来源:SPARCHotSpotBackendFactory.java

示例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;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:8,代码来源:AArch64HotSpotBackendFactory.java

示例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;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:8,代码来源:DefaultHotSpotLoweringProvider.java

示例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;
}
 
开发者ID:graalvm,项目名称:graal-core,代码行数:9,代码来源:AMD64HotSpotBackendFactory.java

示例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;
}
 
开发者ID:graalvm,项目名称:graal-core,代码行数:8,代码来源:SPARCHotSpotBackendFactory.java

示例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;
}
 
开发者ID:graalvm,项目名称:graal-core,代码行数:8,代码来源:AArch64HotSpotBackendFactory.java

示例9: createSnippetReflection

import jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider; //导入依赖的package包/类
protected HotSpotSnippetReflectionProvider createSnippetReflection(HotSpotGraalRuntimeProvider runtime, HotSpotConstantReflectionProvider constantReflection, WordTypes wordTypes) {
    return new HotSpotSnippetReflectionProvider(runtime, constantReflection, wordTypes);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:4,代码来源:AMD64HotSpotBackendFactory.java

示例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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:AMD64HotSpotBackendFactory.java

示例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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:AMD64HotSpotLoweringProvider.java

示例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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:SPARCHotSpotLoweringProvider.java

示例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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:SPARCHotSpotBackendFactory.java

示例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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:AArch64HotSpotLoweringProvider.java

示例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);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:AArch64HotSpotBackendFactory.java


注:本文中的jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。