On Fri, 18 Sep 2020 20:52:49 GMT, Daniel D. Daugherty <dcu...@openjdk.org> wrote:
>> Robbin Ehn has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Removed double check, fix comment, removed not needed function, updated >> logs > > src/hotspot/share/prims/whitebox.cpp line 2033: > >> 2031: assert(th->is_Java_thread(), "sanity"); >> 2032: JavaThread* jt = (JavaThread*)th; >> 2033: ResourceMark rm; > > It also might be interesting to print the "current thread" info here so > that someone looking at the test output knows which thread handled > the handshake (the target or a surrogate). It's always the thread it self, added asserts to make this clear. ------------- PR: https://git.openjdk.java.net/jdk/pull/151