< prev index next >
src/share/vm/oops/constantPool.hpp
Print this page
*** 691,701 ****
constantPoolHandle h_this(THREAD, this);
return resolve_bootstrap_specifier_at_impl(h_this, index, THREAD);
}
// Klass name matches name at offset
! bool klass_name_at_matches(instanceKlassHandle k, int which);
// Sizing
int length() const { return _length; }
void set_length(int length) { _length = length; }
--- 691,701 ----
constantPoolHandle h_this(THREAD, this);
return resolve_bootstrap_specifier_at_impl(h_this, index, THREAD);
}
// Klass name matches name at offset
! bool klass_name_at_matches(const InstanceKlass* k, int which);
// Sizing
int length() const { return _length; }
void set_length(int length) { _length = length; }
*** 777,795 ****
assert(tag_at(which).is_string_index(), "Corrupted constant pool");
return *int_at_addr(which);
}
// Performs the LinkResolver checks
! static void verify_constant_pool_resolve(const constantPoolHandle& this_cp, KlassHandle klass, TRAPS);
// Implementation of methods that needs an exposed 'this' pointer, in order to
// handle GC while executing the method
static Klass* klass_at_impl(const constantPoolHandle& this_cp, int which,
bool save_resolution_error, TRAPS);
static oop string_at_impl(const constantPoolHandle& this_cp, int which, int obj_index, TRAPS);
! static void trace_class_resolution(const constantPoolHandle& this_cp, KlassHandle k);
// Resolve string constants (to prevent allocation during compilation)
static void resolve_string_constants_impl(const constantPoolHandle& this_cp, TRAPS);
static oop resolve_constant_at_impl(const constantPoolHandle& this_cp, int index, int cache_index, TRAPS);
--- 777,795 ----
assert(tag_at(which).is_string_index(), "Corrupted constant pool");
return *int_at_addr(which);
}
// Performs the LinkResolver checks
! static void verify_constant_pool_resolve(const constantPoolHandle& this_cp, Klass* klass, TRAPS);
// Implementation of methods that needs an exposed 'this' pointer, in order to
// handle GC while executing the method
static Klass* klass_at_impl(const constantPoolHandle& this_cp, int which,
bool save_resolution_error, TRAPS);
static oop string_at_impl(const constantPoolHandle& this_cp, int which, int obj_index, TRAPS);
! static void trace_class_resolution(const constantPoolHandle& this_cp, Klass* k);
// Resolve string constants (to prevent allocation during compilation)
static void resolve_string_constants_impl(const constantPoolHandle& this_cp, TRAPS);
static oop resolve_constant_at_impl(const constantPoolHandle& this_cp, int index, int cache_index, TRAPS);
< prev index next >