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

Matthias Baesken mbaesken at openjdk.org
Fri Aug 30 10:21:22 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.

Hi Martin and Claes, thanks for the reviews !

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

PR Comment: https://git.openjdk.org/jdk/pull/20771#issuecomment-2320759844


More information about the core-libs-dev mailing list