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

Roland Mesde duke at openjdk.org
Thu Feb 12 12:13:41 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)

This pull request has now been integrated.

Changeset: d60cfaf0
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/d60cfaf022b09df411f0dde87d748b6a610a9621
Stats:     6 lines in 1 file changed: 0 ins; 5 del; 1 mod

8365184: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java Re-enable SerialGC flag on debuggee process

Backport-of: 25480f0011297ad209eca1b1b56bcf983ea4ee5d

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

PR: https://git.openjdk.org/jdk25u-dev/pull/225


More information about the jdk-updates-dev mailing list