Integrated: 8377368: [REDO] Mixed jstack cannot find function in vDSO

Yasumasa Suenaga ysuenaga at openjdk.org
Wed Feb 11 09:46:03 UTC 2026


On Fri, 6 Feb 2026 15:39:13 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> We fixed mixed jstack failure when the call stack has frame in vDSO like `gettimeofday()` in [JDK-8376269](https://bugs.openjdk.org/browse/JDK-8376269). But it has been backouted due to build error (see [JDK-8377365](https://bugs.openjdk.org/browse/JDK-8377365) for details).
> 
> JDK-8376269 uses `memfd_create` to copy vDSO from coredump to temporal memory, however it cannot be used on older glibc - some CI works on glibc 2.12, it does not have `memfd_create` unfortunately.
> 
> Thus this PR proposes to use `tmpfile()` and `fileno()` to copy vDSO, as alternatives of `memfd_create()`. It works, and passed all serviceability/sa tests on Linux AMD64.
> 
> Changes from JDK-8376269 is https://github.com/openjdk/jdk/commit/0c315303865efe60de54276bbcf2faf174fd1d9b .

This pull request has now been integrated.

Changeset: 5b7a364e
Author:    Yasumasa Suenaga <ysuenaga at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5b7a364e45baf4fdc50564f5e75842cfc8db25ee
Stats:     242 lines in 5 files changed: 230 ins; 0 del; 12 mod

8377368: [REDO] Mixed jstack cannot find function in vDSO

Reviewed-by: cjplummer, kevinw

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

PR: https://git.openjdk.org/jdk/pull/29610


More information about the serviceability-dev mailing list