< prev index next >
src/share/vm/oops/oop.cpp
Print this page
*** 98,108 ****
intptr_t oopDesc::slow_identity_hash() {
// slow case; we have to acquire the micro lock in order to locate the header
ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY
HandleMark hm;
! Handle object(this);
return ObjectSynchronizer::identity_hash_value_for(object);
}
// When String table needs to rehash
unsigned int oopDesc::new_hash(juint seed) {
--- 98,108 ----
intptr_t oopDesc::slow_identity_hash() {
// slow case; we have to acquire the micro lock in order to locate the header
ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY
HandleMark hm;
! Handle object(oopDesc::bs()->write_barrier(this));
return ObjectSynchronizer::identity_hash_value_for(object);
}
// When String table needs to rehash
unsigned int oopDesc::new_hash(juint seed) {
< prev index next >