RFR: 8339166: java/lang/String/concat/HiddenClassUnloading.java fails on AIX and Linux ppc64le after JDK-8336856

Martin Doerr mdoerr at openjdk.org
Fri Aug 30 09:59:18 UTC 2024


On Thu, 29 Aug 2024 13:55:25 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> We see HiddenClassUnloading.java failing on the ppc64 based platforms. On AIX it seems to fail always; Linux ppc64le sometimes.
> Failure output :
> java.lang.RuntimeException: unloadedClassCount is zero
> at HiddenClassUnloading.main(HiddenClassUnloading.java:66)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:573)
> at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
> at java.base/java.lang.Thread.run(Thread.java:1575)
> 
> Ergonomics sets on these platforms the heap to 32M (even with the -Xmx8M -Xms8M settings), see the Xlog UL output
> 
> 
> [0.045s][info ][gc,init ] Heap Min Capacity: 32M
> [0.045s][info ][gc,init ] Heap Initial Capacity: 32M
> [0.045s][info ][gc,init ] Heap Max Capacity: 32M
> 
> 
> So we need more iterations in the test to trigger the class unloading.

LGTM.

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20771#pullrequestreview-2271807783


More information about the core-libs-dev mailing list