view c1x4hotspotsrc/HotSpotVM/com_sun_hotspot_c1x_VMEntries.h @ 1941:79d04223b8a5

Added caching for resolved types and resolved fields. This is crucial, because the local load elimination will lead to wrong results, if field equality (of two RiField objects with the same object and the same RiType) is not given. The caching makes sure that the default equals implementation is sufficient.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Tue, 28 Dec 2010 18:33:26 +0100
parents 1b41af477605
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