< prev index next >

src/hotspot/share/runtime/biasedLocking.hpp

Print this page
rev 56251 : imported patch 8226705-v1
rev 56253 : [mq]: 8226705-v3-pat

*** 188,199 **** static bool enabled(); // This should be called by JavaThreads to revoke the bias of an object static void revoke(Handle obj, TRAPS); ! // This should be called by a JavaThread to revoke the bias of an owned object ! static void revoke_own_locks(Handle obj, TRAPS); static void revoke_at_safepoint(Handle obj); // These are used by deoptimization to ensure that monitors on the stack // can be migrated --- 188,199 ---- static bool enabled(); // This should be called by JavaThreads to revoke the bias of an object static void revoke(Handle obj, TRAPS); ! // This must only be called by a JavaThread to revoke the bias of an owned object. ! static void revoke_own_lock(Handle obj, TRAPS); static void revoke_at_safepoint(Handle obj); // These are used by deoptimization to ensure that monitors on the stack // can be migrated
< prev index next >