RFR: 8298853: JvmtiVTMSTransitionDisabler should support disabling one virtual thread transitions [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Dec 20 10:12:51 UTC 2022


On Tue, 20 Dec 2022 04:51:52 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Each of these two functions is called just once with the lock held.
>> I feel that asserting this would be an overkill but I can add it if you still think it is important.
>> I've added assert for negative count.
>
> asserts would be good please else someone may use them somewhere else without locking.

Done.

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

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


More information about the serviceability-dev mailing list