JDK 18 | JDK 19 |
---|---|
18.0.1Fixed | 19 b07Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8267339 :
|
|
JDK-8271898 :
|
A fix for JDK-8262952 (macos aarch64) involved using the following pattern: q = (address)os::attempt_reserve_memory_at((char*)q, stripe_len, executable); EXPECT_NE(q, (address)NULL); EXPECT_TRUE(os::commit_memory((char*)q, stripe_len, executable)); where previously it used to be q = (address)os::attempt_reserve_memory_at((char*)q, stripe_len); EXPECT_NE(q, (address)NULL); EXPECT_TRUE(os::commit_memory((char*)q, stripe_len, executable)); where the fix included the 3rd argument of attempt_reserve_memory_at(), which when omitted defaults to "false". This 3 arguments form of the API seems not to always work as expected on macos x64 according to the same test. It works fine locally for me though. I'm pretty sure that I also ran it previously using Mach and it worked fine, so it looks like it fails sporadically. We seemed to have uncovered a new bug on a different platform from that where the fix went in. We should temporarily disable the test on macOS x64 (previously it was disabled on macOS aarch64) and fix the underlaying issue.
|