comparison src/share/vm/interpreter/bytecode.hpp @ 2177:3582bf76420e

6990754: Use native memory and reference counting to implement SymbolTable Summary: move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
author coleenp
date Thu, 27 Jan 2011 16:11:27 -0800
parents 8012aa3ccede
children b92c45f2bc75
comparison
equal deleted inserted replaced
2176:27e4ea99855d 2177:3582bf76420e
191 methodHandle method() const { return _method; } 191 methodHandle method() const { return _method; }
192 192
193 public: 193 public:
194 int index() const; // cache index (loaded from instruction) 194 int index() const; // cache index (loaded from instruction)
195 int pool_index() const; // constant pool index 195 int pool_index() const; // constant pool index
196 symbolOop name() const; // returns the name of the method or field 196 Symbol* name() const; // returns the name of the method or field
197 symbolOop signature() const; // returns the signature of the method or field 197 Symbol* signature() const; // returns the signature of the method or field
198 198
199 BasicType result_type(Thread* thread) const; // returns the result type of the getfield or invoke 199 BasicType result_type() const; // returns the result type of the getfield or invoke
200 }; 200 };
201 201
202 // Abstraction for invoke_{virtual, static, interface, special} 202 // Abstraction for invoke_{virtual, static, interface, special}
203 203
204 class Bytecode_invoke: public Bytecode_member_ref { 204 class Bytecode_invoke: public Bytecode_member_ref {