src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp

changeset 1229
315a5d70b295
parent 1051
4f360ec815ba
child 1230
215f81b4d9b3
     1.1 --- a/src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp	Thu May 07 17:09:48 2009 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp	Mon May 11 16:30:56 2009 -0700
     1.3 @@ -234,7 +234,7 @@
     1.4      nd = get_completed_buffer_lock(stop_at);
     1.5    }
     1.6    bool res = apply_closure_to_completed_buffer_helper(worker_i, nd);
     1.7 -  if (res) _processed_buffers_rs_thread++;
     1.8 +  if (res) Atomic::inc(&_processed_buffers_rs_thread);
     1.9    return res;
    1.10  }
    1.11  

mercurial