view graal/com.oracle.max.graal.runtime/com_sun_hotspot_c1x_VMEntries.h @ 3011:f00918f35c7f

inlining and runtime interface related changes: added codeSize() and compilerStorage() to RiMethod HotSpotMethodResolved uses reflective methods instead of vmIds and survives compilations HotSpotResolvedType.isInitialized not represented as field (can change) inlining stores graphs into method objects and reuses them
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 16 Jun 2011 20:36:17 +0200
parents 0341b6424579
children
line wrap: on
line source

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_sun_hotspot_c1x_VMEntries */

#ifndef _Included_com_sun_hotspot_c1x_VMEntries
#define _Included_com_sun_hotspot_c1x_VMEntries
#ifdef __cplusplus
extern "C" {
#endif
/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_code
 * Signature: (Ljava/lang/Object;)[B
 */
JNIEXPORT jbyteArray JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1code
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_maxStackSize
 * Signature: (Ljava/lang/Object;)I
 */
JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxStackSize
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_maxLocals
 * Signature: (Ljava/lang/Object;)I
 */
JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxLocals
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_holder
 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiType;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1holder
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_signature
 * Signature: (Ljava/lang/Object;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1signature
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_name
 * Signature: (Ljava/lang/Object;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1name
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiSignature_lookupType
 * Signature: (Ljava/lang/String;Ljava/lang/Object;)Lcom/sun/cri/ri/RiType;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiSignature_1lookupType
  (JNIEnv *, jclass, jstring, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiSignature_symbolToString
 * Signature: (Ljava/lang/Object;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiSignature_1symbolToString
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiType_javaClass
 * Signature: (Ljava/lang/Object;)Ljava/lang/Class;
 */
JNIEXPORT jclass JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1javaClass
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiType_name
 * Signature: (Ljava/lang/Object;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1name
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiConstantPool_lookupConstant
 * Signature: (Ljava/lang/Object;I)Ljava/lang/Object;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupConstant
  (JNIEnv *, jclass, jobject, jint);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiConstantPool_lookupMethod
 * Signature: (Ljava/lang/Object;IB)Lcom/sun/cri/ri/RiMethod;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupMethod
  (JNIEnv *, jclass, jobject, jint, jbyte);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiConstantPool_lookupSignature
 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiSignature;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupSignature
  (JNIEnv *, jclass, jobject, jint);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiConstantPool_lookupType
 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiType;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupType
  (JNIEnv *, jclass, jobject, jint);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiConstantPool_lookupField
 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiField;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupField
  (JNIEnv *, jclass, jobject, jint);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    findRiType
 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiType;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_findRiType
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiRuntime_getConstantPool
 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiConstantPool;
 */
JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiRuntime_1getConstantPool
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiType_isArrayClass
 * Signature: (Ljava/lang/Object;)Z
 */
JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isArrayClass
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiType_isInstanceClass
 * Signature: (Ljava/lang/Object;)Z
 */
JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInstanceClass
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiType_isInterface
 * Signature: (Ljava/lang/Object;)Z
 */
JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInterface
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    RiMethod_accessFlags
 * Signature: (Ljava/lang/Object;)I
 */
JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1accessFlags
  (JNIEnv *, jclass, jobject);

/*
 * Class:     com_sun_hotspot_c1x_VMEntries
 * Method:    installCode
 * Signature: (Ljava/lang/Object;[BI)V
 */
JNIEXPORT void JNICALL Java_com_sun_hotspot_c1x_VMEntries_installCode
  (JNIEnv *, jclass, jobject, jbyteArray, jint);

#ifdef __cplusplus
}
#endif
#endif