[jdk17u-dev] RFR: 8267189: Remove duplicated unregistered classes from dynamic archive

Ioi Lam iklam at openjdk.org
Thu Dec 1 02:57:29 UTC 2022


On Tue, 29 Nov 2022 01:57:02 GMT, Leslie Zhai <lzhai at openjdk.org> wrote:

> Hi,
> 
> Commit d983d108c565654e717e2811d88aa94d982da2f5 fix JDK-8297543: runtime/cds/appcds/cacheObject/ArchivedModuleCompareTest.java fail with jfx
> 
> And dependencies:
> 
> =>  JDK-8267189: Remove duplicated unregistered classes from dynamic archive
> * JDK-8268821: Split systemDictionaryShared.cpp
> * JDK-8269004: Implement ResizableResourceHashtable
> * JDK-8270061: Change parameter order of ResourceHashtable
> * JDK-8270803: Reduce CDS API verbosity
> * JDK-8270489: Support archived heap objects in EpsilonGC
> * JDK-8275731: CDS archived enums objects are recreated at runtime
> 
> The patch applies clean except manually edit the source file:
> 
> * src/hotspot/share/classfile/systemDictionaryShared.hpp
> Made `static void SystemDictionaryShared::remove_dumptime_info(InstanceKlass*)` public within this context.
> 
> Tested jtreg tier1~3, no regression.
> 
> Thanks,
> Leslie Zhai

The description of this PR is not clear. Are you backporting JDK-8267189 because it's required by [JDK-8275731](https://bugs.openjdk.org/browse/JDK-8275731) "CDS archived enums objects are recreated at runtime", which is the ultimate issue that you want to backport?

Please avoid mentioning JDK-8297543, as it's already closed as a duplicate of JDK-8275731.

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

PR: https://git.openjdk.org/jdk17u-dev/pull/939


More information about the jdk-updates-dev mailing list