equal
deleted
inserted
replaced
2355 } |
2355 } |
2356 } |
2356 } |
2357 }; |
2357 }; |
2358 |
2358 |
2359 void JavaThread::oops_do(OopClosure* f, CodeBlobClosure* cf) { |
2359 void JavaThread::oops_do(OopClosure* f, CodeBlobClosure* cf) { |
2360 // Flush deferred store-barriers, if any, associated with |
2360 // Verify that the deferred card marks have been flushed. |
2361 // initializing stores done by this JavaThread in the current epoch. |
2361 assert(deferred_card_mark().is_empty(), "Should be empty during GC"); |
2362 Universe::heap()->flush_deferred_store_barrier(this); |
|
2363 |
2362 |
2364 // The ThreadProfiler oops_do is done from FlatProfiler::oops_do |
2363 // The ThreadProfiler oops_do is done from FlatProfiler::oops_do |
2365 // since there may be more than one thread using each ThreadProfiler. |
2364 // since there may be more than one thread using each ThreadProfiler. |
2366 |
2365 |
2367 // Traverse the GCHandles |
2366 // Traverse the GCHandles |