Integrated: 8346248: serviceability/dcmd/vm/{SystemMapTest.java,SystemMapTest.java} failing on macos-aarch64
Stefan Karlsson
stefank at openjdk.org
Mon Dec 16 13:46:50 UTC 2024
On Mon, 16 Dec 2024 10:17:06 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> [JDK-8319875](https://bugs.openjdk.org/browse/JDK-8319875) updated jcmd System.map to support macOS but the tests are now failing on macosx-aarch64 with ZGC.
>
> serviceability/dcmd/vm/SystemDumpMapTest.java
> serviceability/dcmd/vm/SystemMapTest.java
>
> test SystemMapTest.jmx(): failure
> java.lang.RuntimeException: '0x\\p{XDigit}+-0x\\p{XDigit}+ +\\d+ +[\-rwx]*/[\-rwx]* +(pvt|tsh-shared) +(0x\\p{XDigit}+|\\d+) +JAVAHEAP.*' missing from stdout/stderr
> at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
> at SystemMapTest.run(SystemMapTest.java:50)
> at SystemMapTest.jmx(SystemMapTest.java:57)
>
> The output from my runs says `tsh` and not `tsh-shared`. The following change seems to work on my machine and on macosx-aarch64 and macosx-x64 in our CI pipeline.
>
> @stooke @tstuefe Do you think this looks reasonable or was there some systems that reported this as pvt-shared?
This pull request has now been integrated.
Changeset: 45a32979
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/45a329790b844139010c95f981c72ad43b08369a
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8346248: serviceability/dcmd/vm/{SystemMapTest.java,SystemMapTest.java} failing on macos-aarch64
Reviewed-by: eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/22759
More information about the serviceability-dev
mailing list