On Mon, 15 Mar 2021 21:45:34 GMT, Daniel D. Daugherty <dcu...@openjdk.org> 
wrote:

>> When returning from the last Java frame back to vm and hitting a safepoint 
>> poll on that last return we sometimes have a last java frame but no vframe.
>> This seem to be a bug in itself, handled in: 8263576
>> 
>> Other places which uses vframe NULL checks it before, so let's do that in 
>> GetCurrentLocationClosure also.
>> 
>> Testing: nsk jdi/jvmti, jdk jdi, jck vm and t1-3.
>
> src/hotspot/share/prims/jvmtiEnvThreadState.cpp line 263:
> 
>> 261:     // There can be a race condition between a handshake
>> 262:     // and the target thread exiting from Java execution.
>> 263:     // We must recheck the last Java frame still exists.
> 
> Typo: s/recheck the last/recheck that the last/
> (not your typo, but since you're in there...)

Fixed

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

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

Reply via email to