mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8256072: Eliminate JVMTI tagmap rehashing
Reviewed-by: kbarrett, eosterlund
This commit is contained in:
parent
4338f527aa
commit
94eb25a4f1
18 changed files with 19 additions and 119 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue