On Tue, 20 Dec 2022 04:51:52 GMT, David Holmes <dhol...@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