[rvm-research] soft handshake

Albert Netymk <[email protected]> Mon, 22 Aug 2016 03:54:58 +0200
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAKEGsXTuiw_4wCzVs_TUXk8JpTDT_nfjTGUWyZkPG+iP3CgVdg@mail.gmail.com>
I was reading the implementation of
[softHandshake](https://github.com/JikesRVM/JikesRVM/blob/master/rvm/src/org/jikesrvm/scheduler/RVMThread.java#L3766),
and my impression is that this method tells all `softHandshake`
threads to process a yield point on their own pace, assuming all of
them are running java code (`isInJava() == true`).

Is it possible that those threads reaches the yield point at the same
point, and produces a STW? If so, then it would have the same effect
as hard handshake, right? In other words, it's possible that more than
one (mutator) thread is stopped even using soft handshake.


-- 
Best Regards

Yours faithfully
Albert Netymk

------------------------------------------------------------------------------