RFR: 8238761: Asynchronous handshakes [v3]
Robbin Ehn
rehn at openjdk.java.net
Mon Sep 21 10:10:45 UTC 2020
On Fri, 18 Sep 2020 20:52:49 GMT, Daniel D. Daugherty <dcubed at 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
More information about the serviceability-dev
mailing list