hg: hsx/hsx16/baseline: 6889740: G1: OpenDS fails with "unhandled exception in compiled code"
john.cuthbertson at sun.com
john.cuthbertson at sun.com
Tue Nov 3 20:06:00 PST 2009
Changeset: 511f4c69c1be
Author: johnc
Date: 2009-10-29 09:42 -0700
URL: http://hg.openjdk.java.net/hsx/hsx16/baseline/rev/511f4c69c1be
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-dev
mailing list