[aarch64-port-dev ] RFR: 8253795: Implementation of JEP 391: macOS/AArch64 Port

Ahmed Muhsin duke at openjdk.java.net
Wed Jan 5 21:29:02 UTC 2022


On Wed, 22 Dec 2021 07:17:15 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:

> 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

Here are my tier2 tests results for the release build on Monterey 12.0.1/ Xcode 13.1:

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/hotspot/jtreg:tier2                      192   192     0     0   
>> jtreg:test/jdk:tier2                               3389  3383     4     2 <<
   jtreg:test/langtools:tier2                           12    12     0     0   
   jtreg:test/nashorn:tier2                             36    36     0     0   
   jtreg:test/jaxp:tier2                               438   438     0     0   
==============================
TEST FAILURE


Fail
- java/net/NetworkInterface/UniqueMacAddressesTest.java: Tests that the MAC addresses returned by NetworkInterface.getNetworkInterfaces are unique for each adapter.
  - result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: mac address uniqueness test failed
- java/net/Socket/LinkLocal.java: Connecting to a link-local IPv6 address should not causes a SocketException to be thrown.
  - result: Failed. Execution failed: `main' threw exception: java.net.SocketTimeoutException: Receive timed out
- java/net/Socket/UrgentDataTest.java: TCP Urgent data support
  - result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Exception caught (UrgentDataTest.java:120)
- java/nio/channels/Selector/OutOfBand.java: OOB data causes a SocketChannel, with OOBINLINE disabled, to be selected
  - result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Received more than expected

Error
- java/net/ipv6tests/UdpTest.java: IPv6 support for Windows XP and 2003 server
  - result: Error. Agent error: java.lang.Exception: Agent 26 timed out with a timeout of 480 seconds; check console log for any additional details
- java/nio/channels/DatagramChannel/MinSendBufferSize.java: Check that new SO_SNDBUF limit on macOS is adhered to
  - result: Error. test was interrupted! (timeout)



@lewurm  I am also getting the same `TestOnError` failure in hotspot:tier1 when I run the tests on the fastdebug build. However, I do not get the 6 langtools failures.  All tier1 tests pass on the release build though.

-------------

PR: https://git.openjdk.java.net/aarch64-port/pull/14


More information about the aarch64-port-dev mailing list