[jdk25u-dev] RFR: 8368159: Significant performance overhead when started with jdwp agent and unattached debugger [v2]
Roland Mesde
duke at openjdk.org
Mon Jan 5 16:29:44 UTC 2026
> Backporting JDK-8368159: Significant performance overhead when started with jdwp agent and unattached debugger.
>
> This commit replaces the imprecise can_post_frame_pop() check with new has_frame_pops(JavaThread* thread) function for accurate detection of when JVMTI cleanup is actually needed.
>
> Ran related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> (Passed) - make test TEST=test/hotspot/jtreg/serviceability/jvmti
>
> Results are attached.
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/24085584/linux-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/24085585/linux-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/24085586/macos-aarch64-specific-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/24085587/windows-x64-specific-test.log)
Roland Mesde has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
- Merge branch 'openjdk:master' into JDK-8368159-V25
- Backport 17244c699ad20fafe7448678a53266ce6bf017e5
-------------
Changes:
- all: https://git.openjdk.org/jdk25u-dev/pull/75/files
- new: https://git.openjdk.org/jdk25u-dev/pull/75/files/1ebe2848..0731737c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=75&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=75&range=00-01
Stats: 15127 lines in 529 files changed: 8264 ins; 4790 del; 2073 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/75.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/75/head:pull/75
PR: https://git.openjdk.org/jdk25u-dev/pull/75
More information about the jdk-updates-dev
mailing list