On Mon, 17 Nov 2025 19:34:55 GMT, Erik Joelsson <[email protected]> wrote:

> Is there is a particular reason to not apply this on x64 as well?

On macOS x86_64 I saw in our CI those tests failing when enabling the 
dead_strip  feature
serviceability/sa/ClhsdbCDSCore.java
serviceability/sa/ClhsdbFindPC.jav
serviceability/sa/ClhsdbPstack.java

(and macOS on Intel is not that interesting any more these days)

For macOS aarch64, the tests in our CI were fine but I see some failures in the 
GHA in the serviceability area.


finding class loader instances ..java.lang.InternalError: Metadata does not 
appear to be polymorphic
        at 
jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicTypeDataBase.findDynamicTypeForAddress(BasicTypeDataBase.java:223)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(VirtualBaseConstructor.java:104)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:78)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.memory.SystemDictionary.getClassLoaderKlass(SystemDictionary.java:102)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.tools.ClassLoaderStats.printClassLoaderStatistics(ClassLoaderStats.java:93)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.tools.ClassLoaderStats.run(ClassLoaderStats.java:78)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:121)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:278)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:241)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:202)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:344)
        at 
jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:507)


Have to check why I do not see those issues in our test infra.

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

PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3546278266

Reply via email to