gc bugs after 8060252: JDK-7173584 compiler changes regress SPECjvm2008 on SPARC

Roland Westrelin roland.westrelin at oracle.com
Wed Nov 12 10:50:30 UTC 2014


Hi Goetz,

> on ppc, I see immediate bugs in g1:
>  
> ppc_vm/bin/java -XX:+UseG1GC -XX:SurvivorRatio=4 -classpath …/benchmarks/jvm98/ SPECjvm98All …/benchmarks/jvm98/ jvm98.log.txt jvm98.result.txt javac 
>  
> #  Internal Error (/sapmnt/home1/d045726/oJ/g1Bug-hs-comp/src/share/vm/oops/oop.inline.hpp:199), pid=1554, tid=4398079689280
> #  assert(check_obj_alignment(result)) failed: address not aligned: 0x00000000baadbabe
>  
> V  [libjvm.so+0xaa5150]  report_vm_error(char const*, int, char const*, char const*)+0xdc
> V  [libjvm.so+0x78e738]  oopDesc::decode_heap_oop_not_null(unsigned int)+0x11c
> V  [libjvm.so+0x78e7f8]  oopDesc::decode_heap_oop(unsigned int)+0x6c
> V  [libjvm.so+0xc41238]  void G1SATBCardTableModRefBS::write_ref_field_pre_static<unsigned int>(unsigned int*, oopDesc*)+0x7c
> V  [libjvm.so+0xc412cc]  void G1SATBCardTableModRefBS::inline_write_ref_field_pre<unsigned int>(unsigned int*, oopDesc*)+0x40
> V  [libjvm.so+0xc41354]  G1SATBCardTableModRefBS::write_ref_field_pre_work(unsigned int*, oopDesc*)+0x44
> V  [libjvm.so+0x8dadcc]  void BarrierSet::write_ref_field_pre<unsigned int>(unsigned int*, oopDesc*)+0xac
> V  [libjvm.so+0x1195044]  void ObjArrayKlass::do_copy<unsigned int>(arrayOopDesc*, unsigned int*, arrayOopDesc*, unsigned int*, int, Thread*)+0x3f4
> V  [libjvm.so+0x1191c68]  ObjArrayKlass::copy_array(arrayOopDesc*, int, arrayOopDesc*, int, int, Thread*)+0x27c
> V  [libjvm.so+0xeac84c]  JVM_ArrayCopy+0xff51fc1c
> J 17  java.lang.System.arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V (0 bytes) @ 0x00000400021bd104 [0x00000400021bd000+0x104]
> j  spec.benchmarks._213_javac.Parser.exprArgs(I)[Lspec/benchmarks/_213_javac/Expression;+23
> j  spec.benchmarks._213_javac.Parser.parseMethodExpression(Lspec/benchmarks/_213_javac/Expression;Lspec/benchmarks/_213_javac/Identifier;)Lspec/benchmarks/_213_javac/Expression;+69
> j  spec.benchmarks._213_javac.Parser.parseExpression()Lspec/benchmarks/_213_javac/Expression;+426
>  
> Did anybody see similar problems?

I have a similar crash on x86 with javac’s specjvm98 and G1. Thanks for reporting it. I will investigate what’s going on.

Roland.



More information about the hotspot-compiler-dev mailing list