< prev index next >
src/hotspot/share/runtime/biasedLocking.hpp
Print this page
rev 56099 : imported patch 8226705-rebase
rev 56101 : [mq]: 8226705-refactor
*** 188,203 ****
static bool enabled();
// This should be called by JavaThreads to revoke the bias of an object
static void revoke(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
static void revoke(GrowableArray<Handle>* objs, JavaThread *biaser);
- static void revoke_at_safepoint(GrowableArray<Handle>* objs);
static void print_counters() { _counters.print(); }
static BiasedLockingCounters* counters() { return &_counters; }
// These routines are GC-related and should not be called by end
--- 188,205 ----
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
static void revoke(GrowableArray<Handle>* objs, JavaThread *biaser);
static void print_counters() { _counters.print(); }
static BiasedLockingCounters* counters() { return &_counters; }
// These routines are GC-related and should not be called by end
< prev index next >