< prev index next >

src/hotspot/share/oops/oop.cpp

Print this page

        

*** 99,109 **** // slow case; we have to acquire the micro lock in order to locate the header Thread* THREAD = Thread::current(); ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY HandleMark hm(THREAD); Handle object(THREAD, this); ! return ObjectSynchronizer::identity_hash_value_for(object); } // When String table needs to rehash unsigned int oopDesc::new_hash(juint seed) { EXCEPTION_MARK; --- 99,109 ---- // slow case; we have to acquire the micro lock in order to locate the header Thread* THREAD = Thread::current(); ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY HandleMark hm(THREAD); Handle object(THREAD, this); ! return ObjectSynchronizer::FastHashCode(THREAD, object()); } // When String table needs to rehash unsigned int oopDesc::new_hash(juint seed) { EXCEPTION_MARK;
< prev index next >