On Thu, 29 Aug 2024 13:55:25 GMT, Matthias Baesken <mbaes...@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. This pull request has now been integrated. Changeset: 92c4704e Author: Matthias Baesken <mbaes...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/92c4704edf75534b825765d156a7f70377ccb3bb Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8339166: java/lang/String/concat/HiddenClassUnloading.java fails on AIX and Linux ppc64le after JDK-8336856 Reviewed-by: redestad, mdoerr ------------- PR: https://git.openjdk.org/jdk/pull/20771