src/hotspot/share/runtime/signature.hpp
changeset 48826 c4d9d1b08e2e
parent 47216 71c04702a3d5
child 48836 423bcbb288ff
equal deleted inserted replaced
48825:ef8a98bc71f8 48826:c4d9d1b08e2e
   407   Klass* as_klass(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   407   Klass* as_klass(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   408   oop as_java_mirror(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   408   oop as_java_mirror(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   409   const jbyte* raw_bytes()  { return _signature->bytes() + _begin; }
   409   const jbyte* raw_bytes()  { return _signature->bytes() + _begin; }
   410   int          raw_length() { return _end - _begin; }
   410   int          raw_length() { return _end - _begin; }
   411 
   411 
       
   412   jbyte raw_byte_at(int index) {
       
   413     assert(index >= 0 && index < raw_length(), "index overflow");
       
   414     return _signature->byte_at(_begin + index);
       
   415   }
       
   416 
   412   // return same as_symbol except allocation of new symbols is avoided.
   417   // return same as_symbol except allocation of new symbols is avoided.
   413   Symbol* as_symbol_or_null();
   418   Symbol* as_symbol_or_null();
   414 
   419 
   415   // count the number of references in the signature
   420   // count the number of references in the signature
   416   int reference_parameter_count();
   421   int reference_parameter_count();