RFR: 8359472: JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE [v17]
Leonid Mesnik
lmesnik at openjdk.org
Wed Oct 22 21:39:11 UTC 2025
On Wed, 22 Oct 2025 08:41:15 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:
>> In this PR I add a check to prevent debug builds to crash when an agent tries to attach while the JVM is not in live phase.
>>
>> Passes tier1 and tier2 (fastdebug).
>
> Francesco Andreuzzi 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 40 additional commits since the last revision:
>
> - rename
> - Merge branch 'master' into JDK-8359472
> - return value
> - cc
> - empty stderr
> - jvmti errors
> - indent
> - close
> - rephrase
> - PidJcmdExecutor. unused import. cc
> - ... and 30 more: https://git.openjdk.org/jdk/compare/99431d1f...1dafec32
Marked as reviewed by lmesnik (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27766#pullrequestreview-3367619935
More information about the serviceability-dev
mailing list