RFR: 8287281: adjust guarantee in Handshake::execute for the case of target thread being current [v4]

Johan Sjölén duke at openjdk.java.net
Tue Jun 7 09:58:14 UTC 2022


On Mon, 6 Jun 2022 07:15:45 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Johan Sjölén has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - do_thread(target) not self
>>  - Remove checks for is_handshake_for, instead call Handshake::execute
>>  - Switch order of handshake check
>
> src/hotspot/share/prims/jvmtiEnvThreadState.cpp line 399:
> 
>> 397:       // so get current location with direct handshake.
>> 398:       GetCurrentLocationClosure op;
>> 399:       Thread *current = Thread::current();
> 
> This appears unused now.

Nice catch, thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/8992


More information about the serviceability-dev mailing list