hg: hsx/hsx24/hotspot: 8008382: Remove redundant use of Atomic::add(jlong, jlong *) in create_new_gc_id()

bengt.rutisson at oracle.com bengt.rutisson at oracle.com
Tue Feb 19 06:32:20 PST 2013


Changeset: f82f0250456f
Author:    brutisso
Date:      2013-02-18 14:13 +0100
URL:       http://hg.openjdk.java.net/hsx/hsx24/hotspot/rev/f82f0250456f

8008382: Remove redundant use of Atomic::add(jlong, jlong *) in create_new_gc_id()
Summary: Moving register_gc_start() in to the CMS VM operation makes sure that create_new_gc_id() is not called by multiple threads in parallel. This removes the need for atomics in create_new_gc_d(). Also, Atomic::add(jlong, jlong *) is unimplemented for ARM.
Reviewed-by: stefank, dholmes, ehelin

! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
! src/share/vm/gc_implementation/concurrentMarkSweep/vmCMSOperations.cpp
! src/share/vm/gc_implementation/shared/gcTrace.cpp



More information about the hotspot-dev mailing list