JDK-8254941 : Implement Serviceability Agent for macOS/AArch64
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: aarch64
  • Submitted: 2020-10-16
  • Updated: 2022-09-22
  • Resolved: 2021-03-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 8
11.0.15Fixed 17 b16Fixed 8u361Fixed
Related Reports
Relates :  
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/715 Date: 2021-12-13 20:11:31 +0000
18-12-2021

I think I have tested clhsdb on process/core file when initially worked on SA agent for macarm. Later some issues could became hidden due to automatic test issues when hardened-runtime enabled ( signing openjdk with signing identity, not adhoc)
09-07-2021

Actually the problem might not be as bad as I thought. It looks like non-core file tests are mostly passing when the codesign issue is addressed. I have one test failing due to an RMI issue. That may be a host config issue. So it looks like it is mainly core file tests that are having issues.
09-07-2021

I don't believe any true testing of SA on macosx-aarch64 was done, and there appear to be many issues. What I mean by "true testing" is that the tests were run and did not throw SkippedException, which allows them to pass without doing anything. Because of JDK-8270199, any SA test that tries to attach to a process will result in a passing SkippedException. For those that attach to a core file, they will also pass with SkippedException if core files are not being written due to lack of permissions. This is also related to JDK-8270199 in that if the test cannot find the core file, it assumes this is because it can't be produced because the jvm binary is signed. We recently fixed this core file writing issue on some of our macosx-aarch64 hosts so now the core files tests are not skipped, and most are now failing rather than being skipped. See JDK-8269982
09-07-2021

Changeset: dbc9e4b5 Author: Anton Kozlov <akozlov@openjdk.org> Committer: Vladimir Kempik <vkempik@openjdk.org> Date: 2021-03-25 18:10:18 +0000 URL: https://git.openjdk.java.net/jdk/commit/dbc9e4b5
25-03-2021