diff -r 2dd52dea6d28 -r 7b0e9cba0307 src/share/vm/runtime/thread.cpp --- a/src/share/vm/runtime/thread.cpp Tue Jan 12 14:56:46 2010 -0800 +++ b/src/share/vm/runtime/thread.cpp Wed Jan 13 15:26:39 2010 -0800 @@ -2357,9 +2357,8 @@ }; void JavaThread::oops_do(OopClosure* f, CodeBlobClosure* cf) { - // Flush deferred store-barriers, if any, associated with - // initializing stores done by this JavaThread in the current epoch. - Universe::heap()->flush_deferred_store_barrier(this); + // Verify that the deferred card marks have been flushed. + assert(deferred_card_mark().is_empty(), "Should be empty during GC"); // The ThreadProfiler oops_do is done from FlatProfiler::oops_do // since there may be more than one thread using each ThreadProfiler.