-
Bug
-
Resolution: Fixed
-
P3
-
17, 18
-
b07
-
x86_64
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281978 | 18.0.2 | Harold Seigel | P3 | Resolved | Fixed | b01 |
JDK-8280822 | 18.0.1 | Harold Seigel | P3 | Resolved | Fixed | b05 |
JDK-8280319 | 18 | Gerard Ziemski | P3 | Closed | Won't Fix | |
JDK-8310279 | 17.0.9 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8304128 | 17.0.8-oracle | PAWAN CHAWDHARY | P3 | Resolved | Fixed | b01 |
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.
- backported by
-
JDK-8280822 macos attempt_reserve_memory_at(arg1, arg2, true) failure
- Resolved
-
JDK-8281978 macos attempt_reserve_memory_at(arg1, arg2, true) failure
- Resolved
-
JDK-8304128 macos attempt_reserve_memory_at(arg1, arg2, true) failure
- Resolved
-
JDK-8310279 macos attempt_reserve_memory_at(arg1, arg2, true) failure
- Resolved
-
JDK-8280319 macos attempt_reserve_memory_at(arg1, arg2, true) failure
- Closed
- relates to
-
JDK-8262952 [macos_aarch64] os::commit_memory failure
- Resolved
-
JDK-8263464 NMT: assert in gtest os.release_multi_mappings_vm
- Closed
-
JDK-8256844 Make NMT late-initializable
- Resolved
-
JDK-8267339 Temporarily disable os.release_multi_mappings_vm on macOS x64
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/dd9cefd0
-
Commit openjdk/jdk18u/76a2b3bf
-
Commit openjdk/jdk/d1efb0cc
-
Review openjdk/jdk17u-dev/1451
-
Review openjdk/jdk18u/10
-
Review openjdk/jdk/6960