src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotGraalServices.java
changeset 57537 ecc6e394475f
parent 55509 d58442b8abc1
child 58299 6df94ce3ab2f
equal deleted inserted replaced
57536:67cce1b84a9a 57537:ecc6e394475f
    24 
    24 
    25 package org.graalvm.compiler.hotspot;
    25 package org.graalvm.compiler.hotspot;
    26 
    26 
    27 import jdk.vm.ci.hotspot.HotSpotMetaData;
    27 import jdk.vm.ci.hotspot.HotSpotMetaData;
    28 
    28 
       
    29 /**
       
    30  * JDK 13 version of {@code HotSpotGraalServices}.
       
    31  */
    29 public class HotSpotGraalServices {
    32 public class HotSpotGraalServices {
    30 
    33 
    31     /**
    34     /**
    32      * Get the implicit exceptions section of a {@code HotSpotMetaData} if it exists.
    35      * Get the implicit exceptions section of a {@code HotSpotMetaData} if it exists.
    33      */
    36      */
    34     @SuppressWarnings("unused")
    37     @SuppressWarnings("unused")
    35     public static byte[] getImplicitExceptionBytes(HotSpotMetaData metaData) {
    38     public static byte[] getImplicitExceptionBytes(HotSpotMetaData metaData) {
    36         return metaData.implicitExceptionBytes();
    39         return metaData.implicitExceptionBytes();
    37     }
    40     }
       
    41 
       
    42     public static CompilationContext enterGlobalCompilationContext() {
       
    43         return null;
       
    44     }
       
    45 
       
    46     @SuppressWarnings("unused")
       
    47     public static CompilationContext openLocalCompilationContext(Object description) {
       
    48         return null;
       
    49     }
       
    50 
       
    51     public static void exit(int status) {
       
    52         System.exit(status);
       
    53     }
    38 }
    54 }