RFR: 8378369: TestJhsdbJstackMixedWithVDSOCallCore.java fails if missing vdso64.so

Chris Plummer cjplummer at openjdk.org
Sat Feb 21 02:02:47 UTC 2026


On Sat, 21 Feb 2026 00:41:50 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> `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.

Marked as reviewed by cjplummer (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29854#pullrequestreview-3834811225


More information about the serviceability-dev mailing list