OpenJDK compile hangs on PPC64

Severin Gehwolf sgehwolf at redhat.com
Fri Oct 24 09:29:44 UTC 2014


Hi Goetz,

On Fri, 2014-10-24 at 08:33 +0000, Lindenmaier, Goetz wrote:
> Hi Severin, 
> 
> which VM are you using exactly?

The VM sources are from http://hg.openjdk.java.net/jdk8u/jdk8u/ tag
jdk8u25-b17.

>  Did you build it from 8u20 or jdk8u/dev?
> We use our VM for bootstrapping, too.  I don't remember the 8u20 VM
> (or later) ever failing in the build.

It does not fail the build, really. It's just stuck in random places
during a build and the kernel spits out those "kernel:BUG: soft lockup -
CPU#16 stuck for 22s! [java:10678]" messages. I wasn't patient enough to
see if it ever finishes :)

Maybe this is only triggered by building Zero using the PPC64 JIT VM for
bootstrapping...

It might as well be a kernel bug, but not sure.

$ uname -r
3.10.0-123.el7.ppc64

> Or are you using the one downloadable on our project pages?  That's
> rather old and might have problems.

No, I'm not using those.

Thanks,
Severin

> Best regards,
>   Goetz.
> 
> -----Original Message-----
> From: ppc-aix-port-dev [mailto:ppc-aix-port-dev-bounces at openjdk.java.net] On Behalf Of Severin Gehwolf
> Sent: Donnerstag, 23. Oktober 2014 15:46
> To: ppc-aix-port-dev at openjdk.java.net
> Subject: OpenJDK compile hangs on PPC64
> 
> Hi,
> 
> I've compiled the OpenJDK Zero variant on PPC 64 (BE) a couple of times.
> Out of a total of say 6 compiles it "hang" twice. I think it got stuck
> somewhere compiling JDK classes.
> 
> The boot JDK which I've used for building is OpenJDK 8 with the PPC64
> JIT. The host OS is RHEL-7. I see the following showing up in dmesg
> multiple times:
> 
> [188362.213095] CPU: 16 PID: 10678 Comm: java Not tainted 3.10.0-123.el7.ppc64 #1 
> [188362.213100] Call Trace: 
> [188362.213105] [c00000006297ae40] [c0000000000166e8] .show_stack+0x78/0x320 (unreliable) 
> [188362.213113] [c00000006297af00] [c0000000008c6618] .dump_stack+0x28/0x3c 
> [188362.213119] [c00000006297af70] [c0000000001aa308] .rcu_check_callbacks+0x488/0x990 
> [188362.213126] [c00000006297b0b0] [c0000000000c9334] .update_process_times+0x54/0xa0 
> [188362.213132] [c00000006297b140] [c000000000144920] .tick_sched_timer+0x80/0x150 
> [188362.213138] [c00000006297b1e0] [c0000000000f177c] .__run_hrtimer+0xac/0x370 
> [188362.213144] [c00000006297b280] [c0000000000f28b8] .hrtimer_interrupt+0x138/0x320 
> [188362.213150] [c00000006297b390] [c00000000001f130] .timer_interrupt+0x120/0x2f0 
> [188362.213156] [c00000006297b440] [c000000000002614] decrementer_common+0x114/0x180 
> [188362.213162] --- Exception: 901 at .arch_local_irq_restore+0xf0/0x150 
> [188362.213162]     LR = .arch_local_irq_restore+0xf0/0x150 
> [188362.213169] [c00000006297b730] [c0000000001488a0] .get_futex_key+0x310/0x3d0 (unreliable) 
> [188362.213176] [c00000006297b7a0] [c000000000051e14] .get_user_pages_fast+0x2a4/0x440 
> [188362.213181] [c00000006297b8a0] [c0000000001486e4] .get_futex_key+0x154/0x3d0 
> [188362.213187] [c00000006297b950] [c000000000149460] .futex_wake+0x50/0x1c0 
> [188362.213192] [c00000006297ba10] [c00000000014ac84] .do_futex+0x234/0xec0 
> [188362.213197] [c00000006297bb50] [c00000000014ba2c] .SyS_futex+0x11c/0x1d0 
> [188362.213202] [c00000006297bc20] [c0000000000a8dc0] .mm_release+0x130/0x190 
> [188362.213208] [c00000006297bca0] [c0000000000b7000] .do_exit+0x190/0xb60 
> [188362.213213] [c00000006297bda0] [c0000000000b7b58] .SyS_exit_group+0x48/0xf0 
> [188362.213219] [c00000006297be30] [c000000000009e7c] syscall_exit+0x0/0x7c
> 
> PID 10678 was the java (javac) process that got stuck.
> 
> Does this ring a bell for anyone here?
> 
> Thanks,
> Severin
> 





More information about the ppc-aix-port-dev mailing list