`TEST=serviceability/sa/TestJhsdbJstackMixedWithVDSOCallCore.java` fails if
`/lib/modules/<version>/vdso/vdso64.so` is missing. (Seems that is the case on
default Debian installation.)
java.util.NoSuchElementException: No value present
at java.base/java.util.Optional.get(Optional.java:147)
at jdk.test.lib.SA.SATestUtils.getDebugInfo(SATestUtils.java:332)
at
TestJhsdbJstackMixedWithVDSOCallCore.checkVDSODebugInfo(TestJhsdbJstackMixedWithVDSOCallCore.java:73)
at
TestJhsdbJstackMixedWithVDSOCallCore.main(TestJhsdbJstackMixedWithVDSOCallCore.java:85)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at
com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1527)
I could reproduce same problem on WSL 2 (kernel
6.6.87.2-microsoft-standard-WSL2). The test should be skipped if vDSO library
not found.
-------------
Commit messages:
- 8378369: TestJhsdbJstackMixedWithVDSOCallCore.java fails if missing vdso64.so
Changes: https://git.openjdk.org/jdk/pull/29854/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29854&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8378369
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/29854.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29854/head:pull/29854
PR: https://git.openjdk.org/jdk/pull/29854