hg: jdk8u/hs-dev/hotspot: 8033545: Missing volatile specifier in Bitmap::par_put_range_within_word

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Mon Feb 10 02:27:46 PST 2014


Changeset: 695a6aba51c3
Author:    tschatzl
Date:      2014-02-10 10:34 +0100
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/695a6aba51c3

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 jdk8u-all-changes mailing list