equal
deleted
inserted
replaced
466 // earlier string_at call. |
466 // earlier string_at call. |
467 oop resolved_string_at(int which) { |
467 oop resolved_string_at(int which) { |
468 assert(tag_at(which).is_string(), "Corrupted constant pool"); |
468 assert(tag_at(which).is_string(), "Corrupted constant pool"); |
469 // Must do an acquire here in case another thread resolved the klass |
469 // Must do an acquire here in case another thread resolved the klass |
470 // behind our back, lest we later load stale values thru the oop. |
470 // behind our back, lest we later load stale values thru the oop. |
471 // we might want a volatile_obj_at in objArrayKlass. |
471 // we might want a volatile_obj_at in ObjArrayKlass. |
472 int obj_index = cp_to_object_index(which); |
472 int obj_index = cp_to_object_index(which); |
473 return resolved_references()->obj_at(obj_index); |
473 return resolved_references()->obj_at(obj_index); |
474 } |
474 } |
475 |
475 |
476 Symbol* unresolved_string_at(int which) { |
476 Symbol* unresolved_string_at(int which) { |