git: openjdk/leyden: premain: UsePermanentHeapObjects should be enabled for static dump only if PreloadSharedClasses==true.
duke
duke at openjdk.org
Mon Mar 11 05:34:16 UTC 2024
Changeset: bc34228f
Author: iklam <ilam3388 at gmail.com>
Date: 2024-03-10 22:20:54 +0000
URL: https://git.openjdk.org/leyden/commit/bc34228ff3959588c1e9ccaaca9422e7c1a6938f
UsePermanentHeapObjects should be enabled for static dump only if PreloadSharedClasses==true.
(This fixes crash when running serviceability/jvmti/RedefineClasses/RedefineDoubleDelete.java
with the default CDS archive, which has PreloadSharedClasses==false.)
! src/hotspot/share/cds/archiveHeapWriter.cpp
! src/hotspot/share/cds/cdsConfig.cpp
! src/hotspot/share/cds/cds_globals.hpp
! src/hotspot/share/cds/heapShared.cpp
! test/hotspot/jtreg/premain/spring-petclinic/Makefile
More information about the leyden-dev
mailing list