view c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/VMEntries.java @ 1419:7bf6a77b9c5a

implement recent safepoint & exceptionobject ci changes, HotSpotVMConfig
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 12 Jul 2010 15:05:17 -0700
parents 1b41af477605
children 44efca8a02d6
line wrap: on
line source

package com.sun.hotspot.c1x;

import com.sun.cri.ri.RiConstantPool;
import com.sun.cri.ri.RiField;
import com.sun.cri.ri.RiMethod;
import com.sun.cri.ri.RiSignature;
import com.sun.cri.ri.RiType;

public class VMEntries {
	public static native byte[] RiMethod_code(Object methodOop);
	public static native int RiMethod_maxStackSize(Object methodOop);
	public static native int RiMethod_maxLocals(Object methodOop);
	public static native RiType RiMethod_holder(Object methodOop);
	public static native String RiMethod_signature(Object methodOop);
	public static native String RiMethod_name(Object methodOop);
	public static native RiType RiSignature_lookupType(String returnType, Object accessingClass);
	public static native String RiSignature_symbolToString(Object symbolOop);
	public static native Class<?> RiType_javaClass(Object klassOop);
	public static native String RiType_name(Object klassOop);
	public static native Object RiConstantPool_lookupConstant(Object constantPoolOop, int cpi);
	public static native RiMethod RiConstantPool_lookupMethod(Object constantPoolOop, int cpi, byte byteCode);
	public static native RiSignature RiConstantPool_lookupSignature(Object constantPoolOop, int cpi);
	public static native RiType RiConstantPool_lookupType(Object constantPoolOop, int cpi);
	public static native RiField RiConstantPool_lookupField(Object constantPoolOop, int cpi);
	public static native RiType findRiType(Object holderKlassOop);
	public static native RiConstantPool RiRuntime_getConstantPool(Object klassOop);
	public static native boolean RiType_isArrayClass(Object klassOop);
	public static native boolean RiType_isInstanceClass(Object klassOop);
	public static native boolean RiType_isInterface(Object klassOop);
	public static native int RiMethod_accessFlags(Object methodOop);
	public static native void installCode(Object methodOop, byte[] code, int frameSize);
	public static native HotSpotVMConfig getConfiguration();
}