hotspot/src/share/vm/prims/methodHandleWalk.hpp
changeset 9976 6fef34e63df1
parent 9963 4a783069663c
child 10008 d84de97ad847
equal deleted inserted replaced
9975:82190b49ce14 9976:6fef34e63df1
   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;