1 /*
   2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 module jdk.internal.vm.compiler {
  27     requires java.instrument;
  28     requires java.management;
  29     requires jdk.internal.vm.ci;
  30     requires jdk.management;
  31     requires jdk.unsupported;   // sun.misc.Unsafe is used
  32 
  33     uses org.graalvm.compiler.code.DisassemblerProvider;
  34     uses org.graalvm.compiler.core.match.MatchStatementSet;
  35     uses org.graalvm.compiler.debug.DebugHandlersFactory;
  36     uses org.graalvm.compiler.debug.TTYStreamProvider;
  37     uses org.graalvm.compiler.hotspot.CompilerConfigurationFactory;
  38     uses org.graalvm.compiler.hotspot.HotSpotBackendFactory;
  39     uses org.graalvm.compiler.hotspot.HotSpotCodeCacheListener;
  40     uses org.graalvm.compiler.hotspot.HotSpotGraalManagementRegistration;
  41     uses org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory;
  42     uses org.graalvm.compiler.serviceprovider.JMXService;
  43 
  44     exports jdk.internal.vm.compiler.collections        to jdk.internal.vm.compiler.management;
  45     exports org.graalvm.compiler.api.directives         to jdk.aot;
  46     exports org.graalvm.compiler.api.runtime            to jdk.aot;
  47     exports org.graalvm.compiler.api.replacements       to jdk.aot;
  48     exports org.graalvm.compiler.asm.amd64              to jdk.aot;
  49     exports org.graalvm.compiler.asm.aarch64            to jdk.aot;
  50     exports org.graalvm.compiler.bytecode               to jdk.aot;
  51     exports org.graalvm.compiler.code                   to jdk.aot;
  52     exports org.graalvm.compiler.core                   to jdk.aot;
  53     exports org.graalvm.compiler.core.common            to
  54         jdk.aot,
  55         jdk.internal.vm.compiler.management;
  56     exports org.graalvm.compiler.core.target            to jdk.aot;
  57     exports org.graalvm.compiler.debug                  to
  58         jdk.aot,
  59         jdk.internal.vm.compiler.management;
  60     exports org.graalvm.compiler.graph                  to jdk.aot;
  61     exports org.graalvm.compiler.hotspot                to
  62         jdk.aot,
  63         jdk.internal.vm.compiler.management;
  64     exports org.graalvm.compiler.hotspot.meta           to jdk.aot;
  65     exports org.graalvm.compiler.hotspot.replacements   to jdk.aot;
  66     exports org.graalvm.compiler.hotspot.stubs          to jdk.aot;
  67     exports org.graalvm.compiler.hotspot.word           to jdk.aot;
  68     exports org.graalvm.compiler.java                   to jdk.aot;
  69     exports org.graalvm.compiler.lir.asm                to jdk.aot;
  70     exports org.graalvm.compiler.lir.phases             to jdk.aot;
  71     exports org.graalvm.compiler.nodes                  to jdk.aot;
  72     exports org.graalvm.compiler.nodes.graphbuilderconf to jdk.aot;
  73     exports org.graalvm.compiler.options                to
  74         jdk.aot,
  75         jdk.internal.vm.compiler.management;
  76     exports org.graalvm.compiler.phases                 to jdk.aot;
  77     exports org.graalvm.compiler.phases.common.jmx      to jdk.internal.vm.compiler.management;
  78     exports org.graalvm.compiler.phases.tiers           to jdk.aot;
  79     exports org.graalvm.compiler.printer                to jdk.aot;
  80     exports org.graalvm.compiler.runtime                to jdk.aot;
  81     exports org.graalvm.compiler.replacements           to jdk.aot;
  82     exports org.graalvm.compiler.serviceprovider        to
  83         jdk.aot,
  84         jdk.internal.vm.compiler.management;
  85     exports org.graalvm.compiler.word                   to jdk.aot;
  86     exports jdk.internal.vm.compiler.word               to jdk.aot;
  87 }