openjdk / aarch64-port Public
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8253795: Implementation of JEP 391: macOS/AArch64 Port #14
Conversation
JDK-8253816: Support macOS W^X JDK-8253817: Support macOS Aarch64 ABI in Interpreter JDK-8253818: Support macOS Aarch64 ABI for compiled wrappers JDK-8253819: Implement os/cpu for macOS/AArch64 JDK-8253839: Update tests and JDK code for macOS/Aarch64 JDK-8254941: Implement Serviceability Agent for macOS/AArch64 JDK-8255776: Change build system for macOS/AArch64 JDK-8262903: [macos_aarch64] Thread::current() called on detached thread JDK-8262896: [macos_aarch64] Crash in jni_fast_GetLongField
|
To avoid this situation, create a new branch for your changes and reset the
Then proceed to create a new pull request with |
Webrevs
|
I'm having troubles building it with Xcode 13.2:
Is this expected? |
Yes, this is expected, it's same in upstream IIRC, need to wait for a patch there first. |
Running fastdebug tier1 on macOS/AArch64 looks good:
Those 6 failures in
Not sure what's going on. Circeling back to the r18 issue mentioned here: openjdk/jdk11u-dev#301 (comment) Edit: The |
that issue was gone after final version of r18 patch were included into jdk11u |
Here are my tier2 tests results for the release build on Monterey 12.0.1/ Xcode 13.1:
Fail
Error
@lewurm I am also getting the same |
Thanks, these tier2 failures for network tests are common for macos_intel and macos_aarch64, they might requres special setup of network interfaces on the host
I'll check that, thanks. |
Mailing list message from Andrew Haley on aarch64-port-dev: On 1/5/22 14:13, Bernhard Urban-Forster wrote:
Is there an issue here that prevents 8274795 from being backported to 11? It's -- |
@VladimirKempik This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the
|
Thanks for looking at it @ahmedmuhsin, probably an issue with my setup then.
Running on that build for >48h now. Seems good
Yes, I was hoping the macOS port nicely crashes @VladimirKempik not sure how you would like to proceed with this, do you want to merge this PR into |
@lewurm just proceed with openjdk/jdk11u-dev#744 it's independent of this PR |
I meant this PR: #14 |
About TestOnError test failure,
This happens due to the miss of this backport : openjdk/jdk@c37eabe7 we have 3 options:
@theRealAph @adinn and other, what do you think about this one ? |
So what ErrorHandlerTest=12 does is basically this: and this code alone ( in a simple app) does behave differently on mac_intel and mac_arm ( both with ulimit -c unlimited and user writable /cores folder) mac_intel does this: mac_arm does this: so I believe the correct way is the way number 2 |
@VladimirKempik I agree the best approach is just to exclude this on macos-aarch64. |
@theRealAph Can I push this now into aarch64-port repo? |
Yes, thank you. |
/integrate |
Going to push as commit 54b8298. |
@VladimirKempik Pushed as commit 54b8298. |
Backport of JEP-391 to jdk11u-dev
The PR has two commits, one is simple copy of linux_aarch64 to bsd_aarch64. This will allow to see the difference applied to os_cpu against linux_aarch64 version.
Total issues:
JDK-8253795: Implementation of JEP 391: macOS/AArch64 Port
JDK-8253816: Support macOS W^X
JDK-8253817: Support macOS Aarch64 ABI in Interpreter
JDK-8253818: Support macOS Aarch64 ABI for compiled wrappers
JDK-8253819: Implement os/cpu for macOS/AArch64
JDK-8253839: Update tests and JDK code for macOS/Aarch64
JDK-8254941: Implement Serviceability Agent for macOS/AArch64
JDK-8255776: Change build system for macOS/AArch64
JDK-8262903: [macos_aarch64] Thread::current() called on detached thread
JDK-8262896: [macos_aarch64] Crash in jni_fast_GetLongField
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/aarch64-port pull/14/head:pull/14
$ git checkout pull/14
Update a local copy of the PR:
$ git checkout pull/14
$ git pull https://git.openjdk.java.net/aarch64-port pull/14/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 14
View PR using the GUI difftool:
$ git pr show -t 14
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/aarch64-port/pull/14.diff