[jdk17] RFR: 8269865: Async UL needs to handle ERANGE on exceeding SEM_VALUE_MAX [v3]
Liu, Xin
xxinliu at amazon.com
Wed Jul 7 08:03:19 UTC 2021
I had a gtest. I think it can trigger overflow issue on different
platforms. Since we don't know the cap, we have to increment it one by
one. I can't hit any assert on MacOS.
TEST(Semaphore, signal_overflow) {
Semaphore sem(0);
sem.signal((uint)-1);
}
On 7/6/21 11:58 PM, David Holmes wrote:
> e due diligence
More information about the hotspot-runtime-dev
mailing list