[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: JDK-8313656: assert(!JvmtiExport::can_support_virtual_threads()) with
From:       Alex Menkov <amenkov () openjdk ! org>
Date:       2023-08-31 19:21:10
Message-ID: p-1p2PCIRB_ElPcOvQKdcqyMZIWwFBXbBr81zRNTgWo=.b28d8422-4987-4f4b-99b7-ba0109048808 () github ! com
[Download RAW message or body]

On Thu, 10 Aug 2023 01:45:47 GMT, Alex Menkov <amenkov@openjdk.org> wrote:

> The change fixes several issues with capability management:
> - handling can_support_virtual_threads capability. \
> JvmtiExport::can_support_virtual_threads() should be set to true if we have one or \
>                 more agent with can_support_virtual_threads capability;
> - JvmtiManageCapabilities (used by \
> GetPotentialCapabilities/AddCapabilities/RelinquishCapabilities/GetCapabilities) is \
>                 not thread safe;
> - SuspendAllVirtualThreads and ResumeAllVirtualThreads should check capability on \
> the caller agent (and not JvmtiExport::can_support_virtual_threads()). 
> Testing: tier1..5

This pull request has now been integrated.

Changeset: b38bcae1
Author:    Alex Menkov <amenkov@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b38bcae1bad399d0a3ffc091835bf89140550bc2
                
Stats:     53 lines in 3 files changed: 47 ins; 0 del; 6 mod

8313656: assert(!JvmtiExport::can_support_virtual_threads()) with \
-XX:-DoJVMTIVirtualThreadTransitions

Reviewed-by: sspitsyn, lmesnik

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic