src/hotspot/share/runtime/biasedLocking.hpp
changeset 55479 80b27dc96ca3
parent 55005 9b70ebd131b4
child 55625 f7e8dbb77156
equal deleted inserted replaced
55478:ae2e53e379cb 55479:80b27dc96ca3
   173   // for the first part of a run and enabling it later
   173   // for the first part of a run and enabling it later
   174   static bool enabled();
   174   static bool enabled();
   175 
   175 
   176   // This should be called by JavaThreads to revoke the bias of an object
   176   // This should be called by JavaThreads to revoke the bias of an object
   177   static Condition revoke_and_rebias(Handle obj, bool attempt_rebias, TRAPS);
   177   static Condition revoke_and_rebias(Handle obj, bool attempt_rebias, TRAPS);
   178   static Condition revoke_own_locks_in_handshake(Handle obj, TRAPS);
       
   179 
   178 
   180   // These do not allow rebiasing; they are used by deoptimization to
   179   // These do not allow rebiasing; they are used by deoptimization to
   181   // ensure that monitors on the stack can be migrated
   180   // ensure that monitors on the stack can be migrated
   182   static void revoke(GrowableArray<Handle>* objs);
   181   static void revoke(GrowableArray<Handle>* objs);
   183   static void revoke_at_safepoint(Handle obj);
   182   static void revoke_at_safepoint(Handle obj);