< prev index next >
src/hotspot/share/runtime/biasedLocking.hpp
Print this page
rev 54838 : [mq]: 8221734-v2
rev 54839 : [mq]: 8221734-v3
*** 157,166 ****
--- 157,167 ----
static int* revoked_lock_entry_count_addr();
static int* fast_path_entry_count_addr();
static int* slow_path_entry_count_addr();
enum Condition {
+ NOT_REVOKED = 0,
NOT_BIASED = 1,
BIAS_REVOKED = 2,
BIAS_REVOKED_AND_REBIASED = 3
};
*** 173,182 ****
--- 174,184 ----
// for the first part of a run and enabling it later
static bool enabled();
// This should be called by JavaThreads to revoke the bias of an object
static Condition revoke_and_rebias(Handle obj, bool attempt_rebias, TRAPS);
+ static Condition revoke_own_locks_in_handshake(Handle obj, TRAPS);
// These do not allow rebiasing; they are used by deoptimization to
// ensure that monitors on the stack can be migrated
static void revoke(GrowableArray<Handle>* objs);
static void revoke_at_safepoint(Handle obj);
< prev index next >