hg: jdk9/hs-comp/hotspot: 8041468: Field nmethod::_lock_count should be declared volatile
albert.noll at oracle.com
albert.noll at oracle.com
Thu Apr 24 09:07:41 UTC 2014
Changeset: 9f916a62b252
Author: anoll
Date: 2014-04-24 09:47 +0200
URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/9f916a62b252
8041468: Field nmethod::_lock_count should be declared volatile
Summary: The jint field nmethod::_lock_count which is used in nmethodLocker::lock_nmethod and nmethodLocker::unlock_nmethod should be declared volatile (see also signature of Atomic::inc)
Reviewed-by: kvn, roland
Contributed-by: Tobias Hartmann <tobias.hartmann at oracle.com>
! src/share/vm/code/nmethod.cpp
! src/share/vm/code/nmethod.hpp
! src/share/vm/runtime/vmStructs.cpp
More information about the jdk9-hs-comp-changes
mailing list