RFR: 8296323: JVMTI can_support_virtual_threads not available for agents loaded into running VM [v4]

Serguei Spitsyn sspitsyn at openjdk.org
Mon Nov 21 19:10:22 UTC 2022


On Mon, 21 Nov 2022 15:58:31 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixed a trailing white space issue
>
> src/hotspot/share/prims/jvmtiExport.cpp line 201:
> 
>> 199:   JvmtiVirtualThreadEventMark(JavaThread *thread) :
>> 200:     JvmtiEventMark(thread) {
>> 201:     if (thread->vthread() != NULL) {
> 
> Can this condition ever be false?

Yes, this condition can be false for platform threads.

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

PR: https://git.openjdk.org/jdk/pull/11246


More information about the hotspot-dev mailing list