comparison agent/src/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java @ 1660:083fde3b838e

6964498: JSR 292 invokedynamic sites need local bootstrap methods Summary: Add JVM_CONSTANT_InvokeDynamic records to constant pool to determine per-instruction BSMs. Reviewed-by: twisti
author jrose
date Thu, 15 Jul 2010 18:40:45 -0700
parents 136b78722a08
children 3b2dea75431e
comparison
equal deleted inserted replaced
1649:a528509c992b 1660:083fde3b838e
40 public static final int JVM_CONSTANT_Methodref = 10; 40 public static final int JVM_CONSTANT_Methodref = 10;
41 public static final int JVM_CONSTANT_InterfaceMethodref = 11; 41 public static final int JVM_CONSTANT_InterfaceMethodref = 11;
42 public static final int JVM_CONSTANT_NameAndType = 12; 42 public static final int JVM_CONSTANT_NameAndType = 12;
43 public static final int JVM_CONSTANT_MethodHandle = 15; 43 public static final int JVM_CONSTANT_MethodHandle = 15;
44 public static final int JVM_CONSTANT_MethodType = 16; 44 public static final int JVM_CONSTANT_MethodType = 16;
45 public static final int JVM_CONSTANT_InvokeDynamic = 17;
45 46
46 // JVM_CONSTANT_MethodHandle subtypes 47 // JVM_CONSTANT_MethodHandle subtypes
47 public static final int JVM_REF_getField = 1; 48 public static final int JVM_REF_getField = 1;
48 public static final int JVM_REF_getStatic = 2; 49 public static final int JVM_REF_getStatic = 2;
49 public static final int JVM_REF_putField = 3; 50 public static final int JVM_REF_putField = 3;