JDK 11 jdk.internal.vm.compiler.jmod - Internal VM Compiler Module

JDK 11 jdk.internal.vm.compiler.jmod is the JMOD file for JDK 11 Internal VM Compiler module.

JDK 11 Internal VM Compiler module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.internal.vm.compiler.jmod.

JDK 11 Internal VM Compiler module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Internal VM Compiler module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.internal.vm.compiler.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

org/graalvm/compiler/replacements/amd64/PluginFactory_AMD64StringSubstitutions.java

// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// GENERATORS: org.graalvm.compiler.replacements.processor.ReplacementsAnnotationProcessor, org.graalvm.compiler.replacements.processor.PluginGenerator
package org.graalvm.compiler.replacements.amd64;

import jdk.vm.ci.meta.ResolvedJavaMethod;

import java.lang.annotation.Annotation;
import org.graalvm.compiler.nodes.ValueNode;
import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
import org.graalvm.compiler.nodes.graphbuilderconf.GeneratedInvocationPlugin;
import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;
import org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory;

import jdk.vm.ci.meta.JavaConstant;
import jdk.vm.ci.meta.JavaKind;
import org.graalvm.compiler.nodes.ConstantNode;

public class PluginFactory_AMD64StringSubstitutions implements NodeIntrinsicPluginFactory {

    //        class: org.graalvm.compiler.replacements.amd64.AMD64StringSubstitutions
    //       method: charArrayBaseOffset(org.graalvm.compiler.core.common.spi.ArrayOffsetProvider)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedFoldPlugin
    private static final class AMD64StringSubstitutions_charArrayBaseOffset extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            assert checkInjectedArgument(b, args[0], targetMethod);
            org.graalvm.compiler.core.common.spi.ArrayOffsetProvider arg0 = injectedArrayOffsetProvider;
            int result = org.graalvm.compiler.replacements.amd64.AMD64StringSubstitutions.charArrayBaseOffset(arg0);
            JavaConstant constant = JavaConstant.forInt(result);
            ConstantNode node = ConstantNode.forConstant(constant, b.getMetaAccess(), b.getGraph());
            b.push(JavaKind.Int, node);
            b.notifyReplacedCall(targetMethod, node);
            return true;
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.api.replacements.Fold.class;
        }

        private final org.graalvm.compiler.core.common.spi.ArrayOffsetProvider injectedArrayOffsetProvider;

        private AMD64StringSubstitutions_charArrayBaseOffset(InjectionProvider injection) {
            this.injectedArrayOffsetProvider = injection.getInjectedArgument(org.graalvm.compiler.core.common.spi.ArrayOffsetProvider.class);
        }
    }

    //        class: org.graalvm.compiler.replacements.amd64.AMD64StringSubstitutions
    //       method: charArrayIndexScale(org.graalvm.compiler.core.common.spi.ArrayOffsetProvider)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedFoldPlugin
    private static final class AMD64StringSubstitutions_charArrayIndexScale extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            assert checkInjectedArgument(b, args[0], targetMethod);
            org.graalvm.compiler.core.common.spi.ArrayOffsetProvider arg0 = injectedArrayOffsetProvider;
            int result = org.graalvm.compiler.replacements.amd64.AMD64StringSubstitutions.charArrayIndexScale(arg0);
            JavaConstant constant = JavaConstant.forInt(result);
            ConstantNode node = ConstantNode.forConstant(constant, b.getMetaAccess(), b.getGraph());
            b.push(JavaKind.Int, node);
            b.notifyReplacedCall(targetMethod, node);
            return true;
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.api.replacements.Fold.class;
        }

        private final org.graalvm.compiler.core.common.spi.ArrayOffsetProvider injectedArrayOffsetProvider;

        private AMD64StringSubstitutions_charArrayIndexScale(InjectionProvider injection) {
            this.injectedArrayOffsetProvider = injection.getInjectedArgument(org.graalvm.compiler.core.common.spi.ArrayOffsetProvider.class);
        }
    }

    @Override
    public void registerPlugins(InvocationPlugins plugins, InjectionProvider injection) {
        plugins.register(new AMD64StringSubstitutions_charArrayBaseOffset(injection), org.graalvm.compiler.replacements.amd64.AMD64StringSubstitutions.class, "charArrayBaseOffset", org.graalvm.compiler.core.common.spi.ArrayOffsetProvider.class);
        plugins.register(new AMD64StringSubstitutions_charArrayIndexScale(injection), org.graalvm.compiler.replacements.amd64.AMD64StringSubstitutions.class, "charArrayIndexScale", org.graalvm.compiler.core.common.spi.ArrayOffsetProvider.class);
    }
}

org/graalvm/compiler/replacements/amd64/PluginFactory_AMD64StringSubstitutions.java

 

JDK 11 jdk.internal.vm.compiler.management.jmod - Internal VM Compiler Management Module

JDK 11 jdk.internal.vm.ci.jmod - Internal VM CI Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-10, 21274👍, 0💬