src/hotspot/share/prims/jvmtiEnvBase.cpp
changeset 57893 49fea19f0726
parent 57777 90ead0febf56
child 58488 165b193b30dd
equal deleted inserted replaced
57892:fb6cd98e4dec 57893:49fea19f0726
   958   {
   958   {
   959     // Revoke any biases before querying the mark word
   959     // Revoke any biases before querying the mark word
   960     if (at_safepoint) {
   960     if (at_safepoint) {
   961       BiasedLocking::revoke_at_safepoint(hobj);
   961       BiasedLocking::revoke_at_safepoint(hobj);
   962     } else {
   962     } else {
   963       BiasedLocking::revoke_and_rebias(hobj, false, calling_thread);
   963       BiasedLocking::revoke(hobj, calling_thread);
   964     }
   964     }
   965 
   965 
   966     address owner = NULL;
   966     address owner = NULL;
   967     {
   967     {
   968       markWord mark = hobj()->mark();
   968       markWord mark = hobj()->mark();