hg: jdk9/hs-gc/hotspot: 8033545: Missing volatile specifier in Bitmap::par_put_range_within_word

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Fri Feb 7 03:40:23 PST 2014


Changeset: 3dc1055f4e87
Author:    tschatzl
Date:      2014-02-06 17:12 +0100
URL:       http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/rev/3dc1055f4e87

8033545: Missing volatile specifier in Bitmap::par_put_range_within_word
Summary: The method Bitmap::par_put_range_within_word reloads the original value during a CAS, which may be optimized away. Instead of reloading, use the value returned by Atomic::cmpxchg_ptr() for further processing.
Reviewed-by: tschatzl, brutisso, tonyp
Contributed-by: Matthias Braun <matthia.braun at sap.com>

! src/share/vm/utilities/bitMap.cpp



More information about the jdk9-all-changes mailing list