src/share/vm/prims/methodHandleWalk.hpp

changeset 2950
cba7b5c2d53f
parent 2937
5ac411b3b8fc
child 2982
ddd894528dbc
equal deleted inserted replaced
2949:f918d6096e23 2950:cba7b5c2d53f
108 // Print a symbolic description of a method handle chain, including 108 // Print a symbolic description of a method handle chain, including
109 // the signature for each method. The signatures are printed in 109 // the signature for each method. The signatures are printed in
110 // slot order to make it easier to understand. 110 // slot order to make it easier to understand.
111 void print(); 111 void print();
112 static void print(Handle mh); 112 static void print(Handle mh);
113 static void print(oopDesc* mh);
113 #endif 114 #endif
114 }; 115 };
115 116
116 117
117 // Structure walker for method handles. 118 // Structure walker for method handles.
271 // Values used by the compiler. 272 // Values used by the compiler.
272 static jvalue zero_jvalue; 273 static jvalue zero_jvalue;
273 static jvalue one_jvalue; 274 static jvalue one_jvalue;
274 275
275 // Fake constant pool entry. 276 // Fake constant pool entry.
276 class ConstantValue { 277 class ConstantValue : public ResourceObj {
277 private: 278 private:
278 int _tag; // Constant pool tag type. 279 int _tag; // Constant pool tag type.
279 JavaValue _value; 280 JavaValue _value;
280 Handle _handle; 281 Handle _handle;
281 Symbol* _sym; 282 Symbol* _sym;

mercurial