Hi, I have tested zgc on jdk-15-GA and found occasionally SPECjbb2015 hangs when it is about to shut down. This is quite hard to reproduce, one out of 20 iterations probably. Since it only reproduces during shut down, I prefer to use "preset" mode to run SPECjbb to save time. jdk-15-GA/bin/java -XX:+UseZGC -Xmx10g -Dspecjbb.controller.type=PRESET -Dspecjbb.controller.preset.ir=20000 -Dspecjbb.controller.preset.duration=60000 -jar specjbb2015.jar -m COMPOSITE And SPECjbb log is as follow: <Tue Jan 04 03:06:13 EST 2022> org.spec.jbb: Failed to stop executor service java.util.concurrent.ForkJoinPool@9d2cbbc[Terminating, parallelism = 160, size = 2, active = 0, running = 2, steals = 40255, tasks = 0, submissions = 0], trying again <Tue Jan 04 03:06:14 EST 2022> org.spec.jbb: Failed to stop executor service java.util.concurrent.ForkJoinPool@9d2cbbc[Terminating, parallelism = 160, size = 2, active = 0, running = 2, steals = 40255, tasks = 0, submissions = 0], trying again This seems quite similar to a previous issue: https://bugs.openjdk.java.net/browse/JDK-8214285, but on AArch64 other than Skylake. In addition, JDK-8214285 has been solved in jdk12, but we reproduced this issue on jdk-13.0.2+8 and jdk-14.0.2+12 Regards,Xiaowei Lu
Hi, Before digging deeper, please verify if this is a problem on the latest JDK 17. Also note that SPECjbb2015 1.03 contains a fix for a hang we discovered and reported some time ago. So please verify that you're using that version. /Per On 1/13/22 03:58, 逯晓威(峰风) wrote:
Hi, I have tested zgc on jdk-15-GA and found occasionally SPECjbb2015 hangs when it is about to shut down. This is quite hard to reproduce, one out of 20 iterations probably. Since it only reproduces during shut down, I prefer to use "preset" mode to run SPECjbb to save time. jdk-15-GA/bin/java -XX:+UseZGC -Xmx10g -Dspecjbb.controller.type=PRESET -Dspecjbb.controller.preset.ir=20000 -Dspecjbb.controller.preset.duration=60000 -jar specjbb2015.jar -m COMPOSITE And SPECjbb log is as follow: <Tue Jan 04 03:06:13 EST 2022> org.spec.jbb: Failed to stop executor service java.util.concurrent.ForkJoinPool@9d2cbbc[Terminating, parallelism = 160, size = 2, active = 0, running = 2, steals = 40255, tasks = 0, submissions = 0], trying again <Tue Jan 04 03:06:14 EST 2022> org.spec.jbb: Failed to stop executor service java.util.concurrent.ForkJoinPool@9d2cbbc[Terminating, parallelism = 160, size = 2, active = 0, running = 2, steals = 40255, tasks = 0, submissions = 0], trying again
This seems quite similar to a previous issue: https://bugs.openjdk.java.net/browse/JDK-8214285, but on AArch64 other than Skylake. In addition, JDK-8214285 has been solved in jdk12, but we reproduced this issue on jdk-13.0.2+8 and jdk-14.0.2+12
Regards,Xiaowei Lu
Hi, Thanks for your suggestion. Yes, we found out this problem resulted from SPECjbb and hasn't reproduced on the latest SPECjbb version. Regards, Xiaowei Lu ------------------------------------------------------------------ 发件人:Per Liden <per.liden@oracle.com> 发送时间:2022年1月13日(星期四) 16:38 收件人:逯晓威(峰风) <lxw263044@alibaba-inc.com>; zgc-dev <zgc-dev@openjdk.java.net> 主 题:Re: ZGC AArch64 hang on SPECjbb2015 Hi, Before digging deeper, please verify if this is a problem on the latest JDK 17. Also note that SPECjbb2015 1.03 contains a fix for a hang we discovered and reported some time ago. So please verify that you're using that version. /Per On 1/13/22 03:58, 逯晓威(峰风) wrote:
Hi, I have tested zgc on jdk-15-GA and found occasionally SPECjbb2015 hangs when it is about to shut down. This is quite hard to reproduce, one out of 20 iterations probably. Since it only reproduces during shut down, I prefer to use "preset" mode to run SPECjbb to save time. jdk-15-GA/bin/java -XX:+UseZGC -Xmx10g -Dspecjbb.controller.type=PRESET -Dspecjbb.controller.preset.ir=20000 -Dspecjbb.controller.preset.duration=60000 -jar specjbb2015.jar -m COMPOSITE And SPECjbb log is as follow: <Tue Jan 04 03:06:13 EST 2022> org.spec.jbb: Failed to stop executor service java.util.concurrent.ForkJoinPool@9d2cbbc[Terminating, parallelism = 160, size = 2, active = 0, running = 2, steals = 40255, tasks = 0, submissions = 0], trying again <Tue Jan 04 03:06:14 EST 2022> org.spec.jbb: Failed to stop executor service java.util.concurrent.ForkJoinPool@9d2cbbc[Terminating, parallelism = 160, size = 2, active = 0, running = 2, steals = 40255, tasks = 0, submissions = 0], trying again
This seems quite similar to a previous issue: https://bugs.openjdk.java.net/browse/JDK-8214285, but on AArch64 other than Skylake. In addition, JDK-8214285 has been solved in jdk12, but we reproduced this issue on jdk-13.0.2+8 and jdk-14.0.2+12
Regards,Xiaowei Lu
participants (2)
-
Per Liden
-
逯晓威(峰风)