< prev index next >

src/hotspot/share/runtime/biasedLocking.cpp

Print this page
rev 57079 : imported patch 8234796

*** 502,528 **** return _safepoint_id; } }; ! class RevokeOneBias : public ThreadClosure { protected: Handle _obj; JavaThread* _requesting_thread; JavaThread* _biased_locker; BiasedLocking::Condition _status_code; traceid _biased_locker_id; public: RevokeOneBias(Handle obj, JavaThread* requesting_thread, JavaThread* biased_locker) ! : _obj(obj) , _requesting_thread(requesting_thread) , _biased_locker(biased_locker) , _status_code(BiasedLocking::NOT_BIASED) , _biased_locker_id(0) {} ! void do_thread(Thread* target) { assert(target == _biased_locker, "Wrong thread"); oop o = _obj(); markWord mark = o->mark(); --- 502,529 ---- return _safepoint_id; } }; ! class RevokeOneBias : public HandshakeOperation { protected: Handle _obj; JavaThread* _requesting_thread; JavaThread* _biased_locker; BiasedLocking::Condition _status_code; traceid _biased_locker_id; public: RevokeOneBias(Handle obj, JavaThread* requesting_thread, JavaThread* biased_locker) ! : HandshakeOperation("RevokeOneBias") ! , _obj(obj) , _requesting_thread(requesting_thread) , _biased_locker(biased_locker) , _status_code(BiasedLocking::NOT_BIASED) , _biased_locker_id(0) {} ! void do_thread(JavaThread* target) { assert(target == _biased_locker, "Wrong thread"); oop o = _obj(); markWord mark = o->mark();
< prev index next >