comparison src/share/vm/prims/methodHandleWalk.hpp @ 3442:f7d55ea6ee56

7045514: SPARC assembly code for JSR 292 ricochet frames Reviewed-by: kvn, jrose
author never
date Fri, 03 Jun 2011 22:31:43 -0700
parents 88559690c95a
children 81d815b05abb
comparison
equal deleted inserted replaced
3441:f56542cb325a 3442:f7d55ea6ee56
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;