Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/cpCacheOop.hpp @ 1602:136b78722a08
6939203: JSR 292 needs method handle constants
Summary: Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode.
Reviewed-by: twisti, never
author | jrose |
---|---|
date | Wed, 09 Jun 2010 18:50:45 -0700 |
parents | c18cbe5936b8 |
children | 083fde3b838e |
comparison
equal
deleted
inserted
replaced
1585:49fac4acd688 | 1602:136b78722a08 |
---|---|
108 // source code. The _indices field with the bytecode must be written last. | 108 // source code. The _indices field with the bytecode must be written last. |
109 | 109 |
110 class ConstantPoolCacheEntry VALUE_OBJ_CLASS_SPEC { | 110 class ConstantPoolCacheEntry VALUE_OBJ_CLASS_SPEC { |
111 friend class VMStructs; | 111 friend class VMStructs; |
112 friend class constantPoolCacheKlass; | 112 friend class constantPoolCacheKlass; |
113 friend class constantPoolOopDesc; //resolve_constant_at_impl => set_f1 | |
113 | 114 |
114 private: | 115 private: |
115 volatile intx _indices; // constant pool index & rewrite bytecodes | 116 volatile intx _indices; // constant pool index & rewrite bytecodes |
116 volatile oop _f1; // entry specific oop field | 117 volatile oop _f1; // entry specific oop field |
117 volatile intx _f2; // entry specific int/oop field | 118 volatile intx _f2; // entry specific int/oop field |