[jdk25u-dev] RFR: 8365184: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java Re-enable SerialGC flag on debuggee process

duke duke at openjdk.org
Wed Feb 11 15:26:29 UTC 2026


On Tue, 3 Feb 2026 21:54:18 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8365184: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java Re-enable SerialGC flag on debuggee process.
> 
> This PR re-enable -XX:+UseSerialGC flag for debuggee process in HeapDumpTestWithActiveProcess.java. The SerialGC was disabled due to classloader-related issue (JDK-8313655), but issue no longer occurs, likely due to improvements in ClassLoaderData handling or SerialGC implementation.
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/jdk/sun/tools/jhsdb/JShellHeapDumpTest.java
> make test TEST=test/jdk/sun/tools/jhsdb/JShellHeapDumpTest.java JTREG='JAVA_OPTIONS=-XX:+UseSerialGC'
> 
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25078435/windows-x64-specific-test.log)
> [windows-x64-specific-2-test.log](https://github.com/user-attachments/files/25078436/windows-x64-specific-2-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25078437/macos-aarch64-specific-test.log)
> [macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25078438/macos-aarch64-specific-2-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25078439/linux-x64-specific-test.log)
> [linux-x64-specific-2-test.log](https://github.com/user-attachments/files/25078440/linux-x64-specific-2-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25078441/linux-aarch64-specific-test.log)
> [linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/25078442/linux-aarch64-specific-2-test.log)

@rm-gh-8 
Your change (at version 42a6d5e88744372f37592b632a40e5a1fd4dddd2) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/225#issuecomment-3885152891


More information about the jdk-updates-dev mailing list