hg: jdk7/hotspot-comp/hotspot: 7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops

igor.veresov at oracle.com igor.veresov at oracle.com
Wed Dec 8 04:37:25 PST 2010


Changeset: ec8c74742417
Author:    iveresov
Date:      2010-12-08 02:36 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/ec8c74742417

7005241: C1: SEGV in java.util.concurrent.LinkedTransferQueue.xfer() with compressed oops
Summary: Implementation of the CAS primitive for x64 compressed oops was incorrect. It kills rscratch2 register (r11), which is allocatable in C1. Also, we don't need to restore cmpval as it's never used after that, so we need only one temporary register, which can be scratch1.
Reviewed-by: kvn, never

! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp



More information about the hotspot-compiler-dev mailing list