src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider.java

Print this page
rev 10816 : 8153756: jdk.vm.ci should not depend on sun.misc ( jdk.unsupported module )
Reviewed-by:


  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 package jdk.vm.ci.hotspot;
  24 
  25 import java.io.OutputStream;
  26 
  27 import jdk.vm.ci.common.JVMCIError;
  28 import jdk.vm.ci.meta.JVMCIMetaAccessContext;
  29 import jdk.vm.ci.meta.JavaKind;
  30 import jdk.vm.ci.meta.JavaType;
  31 import jdk.vm.ci.meta.ResolvedJavaType;
  32 import jdk.vm.ci.runtime.JVMCIRuntime;
  33 import sun.misc.Unsafe;
  34 
  35 //JaCoCo Exclude
  36 
  37 /**
  38  * Configuration information for the HotSpot JVMCI runtime.
  39  */
  40 public interface HotSpotJVMCIRuntimeProvider extends JVMCIRuntime {
  41 
  42     HotSpotVMConfig getConfig();
  43 
  44     CompilerToVM getCompilerToVM();
  45 
  46     /**
  47      * Gets an output stream that writes to the HotSpot's {@code tty} stream.
  48      */
  49     OutputStream getLogStream();
  50 
  51     /**
  52      * Converts a name to a Java type. This method attempts to resolve {@code name} to a
  53      * {@link ResolvedJavaType}.




  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 package jdk.vm.ci.hotspot;
  24 
  25 import java.io.OutputStream;
  26 
  27 import jdk.vm.ci.common.JVMCIError;
  28 import jdk.vm.ci.meta.JVMCIMetaAccessContext;
  29 import jdk.vm.ci.meta.JavaKind;
  30 import jdk.vm.ci.meta.JavaType;
  31 import jdk.vm.ci.meta.ResolvedJavaType;
  32 import jdk.vm.ci.runtime.JVMCIRuntime;
  33 import jdk.internal.misc.Unsafe;
  34 
  35 //JaCoCo Exclude
  36 
  37 /**
  38  * Configuration information for the HotSpot JVMCI runtime.
  39  */
  40 public interface HotSpotJVMCIRuntimeProvider extends JVMCIRuntime {
  41 
  42     HotSpotVMConfig getConfig();
  43 
  44     CompilerToVM getCompilerToVM();
  45 
  46     /**
  47      * Gets an output stream that writes to the HotSpot's {@code tty} stream.
  48      */
  49     OutputStream getLogStream();
  50 
  51     /**
  52      * Converts a name to a Java type. This method attempts to resolve {@code name} to a
  53      * {@link ResolvedJavaType}.