RFR: 8359472: JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE [v13]
Francesco Andreuzzi
fandreuzzi at openjdk.org
Tue Oct 21 09:43:24 UTC 2025
On Mon, 20 Oct 2025 20:40:22 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix tool call
>
> test/hotspot/jtreg/serviceability/attach/EarlyDynamicLoad/TestEarlyDynamicLoad.java line 66:
>
>> 64: @AfterAll
>> 65: static void stopChild() throws Exception {
>> 66: child.destroy();
>
> Is it possible to let the process to complete normally instead of killing it? (by writing into stream?)
> So test can verify that process is exited with code 0 and nothing is broken by this attaching attempt.
Yeah that sounds reasonable, thanks. Please check the latest revision of the test.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27766#discussion_r2447510551
More information about the serviceability-dev
mailing list