hg: jdk7/hotspot-gc/hotspot: 6889740: G1: OpenDS fails with "unhandled exception in compiled code"
john.cuthbertson at sun.com
john.cuthbertson at sun.com
Thu Oct 29 21:23:54 UTC 2009
Changeset: beb8f45ee9f0
Author: johnc
Date: 2009-10-29 09:42 -0700
URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/beb8f45ee9f0
6889740: G1: OpenDS fails with "unhandled exception in compiled code"
Summary: Incorrect code was being generated for the store operation in the null case of the aastore bytecode template. The bad code was generated by the store_heap_oop routine which takes a Register as its second argument. Passing NULL_WORD (0) as the second argument causes the value to be converted to Register(0), which is rax. Thus the generated store was "mov (dst), $rax" instead of "mov (dst), $0x0". Changed calls to store_heap_oop that pass NULL_WORD as the second argument to a new routine store_heap_oop_null.
Reviewed-by: kvn, twisti
! src/cpu/x86/vm/assembler_x86.cpp
! src/cpu/x86/vm/assembler_x86.hpp
! src/cpu/x86/vm/templateTable_x86_64.cpp
More information about the hotspot-gc-dev
mailing list