hotspot/src/share/vm/oops/constantPool.hpp
changeset 27677 b1997f2f1b56
parent 27408 9a8090dd6ec3
child 28741 1f10b1bd612d
equal deleted inserted replaced
27635:2cda6d613b7a 27677:b1997f2f1b56
   334 
   334 
   335   // Fetching constants
   335   // Fetching constants
   336 
   336 
   337   Klass* klass_at(int which, TRAPS) {
   337   Klass* klass_at(int which, TRAPS) {
   338     constantPoolHandle h_this(THREAD, this);
   338     constantPoolHandle h_this(THREAD, this);
   339     return klass_at_impl(h_this, which, true, CHECK_NULL);
   339     return klass_at_impl(h_this, which, true, THREAD);
   340   }
   340   }
   341 
   341 
   342   // Version of klass_at that doesn't save the resolution error, called during deopt
   342   // Version of klass_at that doesn't save the resolution error, called during deopt
   343   Klass* klass_at_ignore_error(int which, TRAPS) {
   343   Klass* klass_at_ignore_error(int which, TRAPS) {
   344     constantPoolHandle h_this(THREAD, this);
   344     constantPoolHandle h_this(THREAD, this);
   345     return klass_at_impl(h_this, which, false, CHECK_NULL);
   345     return klass_at_impl(h_this, which, false, THREAD);
   346   }
   346   }
   347 
   347 
   348   Symbol* klass_name_at(int which);  // Returns the name, w/o resolving.
   348   Symbol* klass_name_at(int which);  // Returns the name, w/o resolving.
   349 
   349 
   350   Klass* resolved_klass_at(int which) const {  // Used by Compiler
   350   Klass* resolved_klass_at(int which) const {  // Used by Compiler