RFR: 8341273: JVMTI is not properly hiding some continuation related methods [v3]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Oct 16 21:35:13 UTC 2024


On Wed, 16 Oct 2024 08:00:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Disallow NotifyFramePop for enter/enter0/VirtualThread.run/VThreadContinuation.run
>
> src/java.base/share/classes/java/lang/VirtualThread.java line 221:
> 
>> 219:                     vthread.notifyJvmtiStart();
>> 220: 
>> 221:                     vthread.run(task);
> 
> This doesn't look right, it needs to use try-finally.

The discussion on this is on the next comment.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21397#discussion_r1803823069


More information about the core-libs-dev mailing list