8256072: Eliminate JVMTI tagmap rehashing

Reviewed-by: kbarrett, eosterlund
This commit is contained in:
Coleen Phillimore 2022-11-03 17:27:00 +00:00
parent 4338f527aa
commit 94eb25a4f1
18 changed files with 19 additions and 119 deletions

View file

@ -99,10 +99,7 @@ void oopDesc::verify(oopDesc* oop_desc) {
intptr_t oopDesc::slow_identity_hash() {
// slow case; we have to acquire the micro lock in order to locate the header
Thread* current = Thread::current();
ResetNoHandleMark rnm; // Might be called from LEAF/QUICK ENTRY
HandleMark hm(current);
Handle object(current, this);
return ObjectSynchronizer::identity_hash_value_for(object);
return ObjectSynchronizer::FastHashCode(current, this);
}
// used only for asserts and guarantees