hg: jdk7/hotspot-comp/hotspot: 6627983: G1: Bad oop deference during marking

igor.veresov at oracle.com igor.veresov at oracle.com
Tue Mar 1 18:15:01 PST 2011

Changeset: 0ac769a57c64
Author:    iveresov
Date:      2011-03-01 14:56 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/0ac769a57c64

6627983: G1: Bad oop deference during marking
Summary: Bulk zeroing reduction didn't work with G1, because arraycopy would call pre-barriers on uninitialized oops. The solution is to have version of arraycopy stubs that don't have pre-barriers. Also refactored arraycopy stubs generation on SPARC to be more readable and reduced the number of stubs necessary in some cases.
Reviewed-by: jrose, kvn, never

! src/cpu/sparc/vm/stubGenerator_sparc.cpp
! src/cpu/x86/vm/stubGenerator_x86_32.cpp
! src/cpu/x86/vm/stubGenerator_x86_64.cpp
! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp
! src/share/vm/memory/barrierSet.cpp
! src/share/vm/memory/barrierSet.hpp
! src/share/vm/opto/library_call.cpp
! src/share/vm/runtime/arguments.cpp
! src/share/vm/runtime/stubRoutines.cpp
! src/share/vm/runtime/stubRoutines.hpp

More information about the hotspot-compiler-dev mailing list