RFR: 8368159: Significant performance overhead when started with jdwp agent and unattached debugger [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Sep 24 21:41:43 UTC 2025


On Wed, 24 Sep 2025 05:02:01 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> But if we are not in interp_only mode isn't it already invalidated?

It does not need to be invalidated if not in `interp_only` mode.
The issue I see is with the test `test/hotspot/jtreg/serviceability/jvmti/vthread/ContStackDepthTest` only which is for plain Continuations. Otherwise, the `invalidate_jvmti_stack()` would not be needed. It plays as a workaround to make this test to pass. It seems there is a bug related to plain Continuation lurking somewhere.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27403#discussion_r2377137978


More information about the serviceability-dev mailing list