RFR: 8345347: Test runtime/cds/TestDefaultArchiveLoading.java should accept VM flags or be marked as flagless [v2]

SendaoYan syan at openjdk.org
Tue Jun 3 08:12:03 UTC 2025


On Mon, 2 Jun 2025 16:41:07 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

>> Currently this test uses `ProcessTools.createLimitedTestJavaProcessBuilder()` to ignore vm flags, so this patch changes the method to `ProcessTools.createTestJavaProcessBuilder()` to allow for more extensive training. Because ZGC is incompatible with heap dumping, is is disabled on this test. Verified locally and through tiered testing.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Stefan comment

test/hotspot/jtreg/runtime/cds/TestDefaultArchiveLoading.java line 29:

> 27:  * @summary Test Loading of default archives in all configurations
> 28:  * @requires vm.cds
> 29:  * @requires vm.cds.write.archived.java.heap

Should we update the copyright year from `2024` to `2024, 2025`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25591#discussion_r2123077288


More information about the hotspot-runtime-dev mailing list