hotspot/src/share/vm/runtime/signature.hpp
changeset 20702 bbe0fcde6e13
parent 13728 882756847a04
child 22234 da823d78ad65
equal deleted inserted replaced
20701:ef9996662fd5 20702:bbe0fcde6e13
   399   const jbyte* raw_bytes()  { return _signature->bytes() + _begin; }
   399   const jbyte* raw_bytes()  { return _signature->bytes() + _begin; }
   400   int          raw_length() { return _end - _begin; }
   400   int          raw_length() { return _end - _begin; }
   401 
   401 
   402   // return same as_symbol except allocation of new symbols is avoided.
   402   // return same as_symbol except allocation of new symbols is avoided.
   403   Symbol* as_symbol_or_null();
   403   Symbol* as_symbol_or_null();
       
   404 
       
   405   // count the number of references in the signature
       
   406   int reference_parameter_count();
   404 };
   407 };
   405 
   408 
   406 class SignatureVerifier : public StackObj {
   409 class SignatureVerifier : public StackObj {
   407   public:
   410   public:
   408     // Returns true if the symbol is valid method or type signature
   411     // Returns true if the symbol is valid method or type signature