RFR: 8359472: JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE [v2]

Francesco Andreuzzi fandreuzzi at openjdk.org
Fri Oct 17 16:20:11 UTC 2025


On Thu, 16 Oct 2025 08:27:55 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   summary
>
> test/hotspot/jtreg/serviceability/EarlyDynamicLoad/TestEarlyDynamicLoadJcmd.java line 50:
> 
>> 48: 
>> 49:         OutputAnalyzer output = new OutputAnalyzer(pb.start());
>> 50:         output.shouldHaveExitValue(0);
> 
> Yes but more importantly we should be checking for the "not in live phase" error message.

Fixed in the latest revision

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27766#discussion_r2440519881


More information about the serviceability-dev mailing list