RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads [v3]

Serguei Spitsyn sspitsyn at openjdk.org
Thu Oct 5 14:51:41 UTC 2023


On Wed, 4 Oct 2023 01:21:02 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>  used the same logic to split stack traces as ThreadStackTrace::dump_stack_at_safepoint
> (it was added with VT integration, it's used, for example by VM_ThreadDump).
>   My understanding that enterSpecial is considered as a special frame which is not belongs to VT stack trace.

That's right.
I forgot it is not returned by the vframe::java_sender(), so JVMTI GetStackTrace() does not return it as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/15869#issuecomment-1749046927


More information about the serviceability-dev mailing list