--- old/src/hotspot/share/runtime/biasedLocking.cpp 2019-08-13 12:39:54.264299056 +0200 +++ new/src/hotspot/share/runtime/biasedLocking.cpp 2019-08-13 12:39:53.968293922 +0200 @@ -45,7 +45,7 @@ static bool _biased_locking_enabled = false; BiasedLockingCounters BiasedLocking::_counters; -static GrowableArray* _preserved_oop_stack = NULL; +static GrowableArray* _preserved_oop_stack = NULL; static GrowableArray* _preserved_mark_stack = NULL; static void enable_biased_locking(InstanceKlass* k) { @@ -478,7 +478,7 @@ o->mark().has_bias_pattern() && klass->prototype_header().has_bias_pattern()) { markWord new_mark = markWord::encode(requesting_thread, o->mark().age(), - klass->prototype_header().bias_epoch()); + klass->prototype_header().bias_epoch()); o->set_mark(new_mark); status_code = BIAS_REVOKED_AND_REBIASED; log_info(biasedlocking)(" Rebiased object toward thread " INTPTR_FORMAT, (intptr_t) requesting_thread); @@ -692,7 +692,7 @@ ThreadsListHandle tlh; markWord prototype = obj->klass()->prototype_header(); if (!prototype.has_bias_pattern() || (!tlh.includes(biaser) && biaser == mark.biased_locker() && - prototype.bias_epoch() == mark.bias_epoch())) { + prototype.bias_epoch() == mark.bias_epoch())) { obj->cas_set_mark(markWord::prototype().set_age(mark.age()), mark); if (event.should_commit()) { post_revocation_event(&event, obj->klass(), &revoke); @@ -813,7 +813,7 @@ // heuristics. This is normally done in the assembly code but we // can reach this point due to various points in the runtime // needing to revoke biases. - markWord res_mark(0); + markWord res_mark; if (attempt_rebias) { assert(THREAD->is_Java_thread(), ""); markWord biased_value = mark;