< prev index next >

src/share/vm/gc/g1/heapRegionRemSet.hpp

Print this page
rev 9505 : [mq]: 8144583-test-sanity-executeinternalvmtests-fails


 375   }
 376 
 377   static void invalidate_from_card_cache(uint start_idx, size_t num_regions) {
 378     FromCardCache::invalidate(start_idx, num_regions);
 379   }
 380 
 381 #ifndef PRODUCT
 382   static void print_from_card_cache() {
 383     FromCardCache::print();
 384   }
 385 #endif
 386 
 387   // These are wrappers for the similarly-named methods on
 388   // SparsePRT. Look at sparsePRT.hpp for more details.
 389   static void reset_for_cleanup_tasks();
 390   void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task);
 391   static void finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task);
 392 
 393   // Run unit tests.
 394 #ifndef PRODUCT
 395   static void test_prt();
 396   static void test();
 397 #endif
 398 };
 399 
 400 class HeapRegionRemSetIterator : public StackObj {
 401  private:
 402   // The region RSet over which we are iterating.
 403   HeapRegionRemSet* _hrrs;
 404 
 405   // Local caching of HRRS fields.
 406   const BitMap*             _coarse_map;
 407 
 408   G1BlockOffsetSharedArray* _bosa;
 409   G1CollectedHeap*          _g1h;
 410 
 411   // The number of cards yielded since initialization.
 412   size_t _n_yielded_fine;
 413   size_t _n_yielded_coarse;
 414   size_t _n_yielded_sparse;
 415 




 375   }
 376 
 377   static void invalidate_from_card_cache(uint start_idx, size_t num_regions) {
 378     FromCardCache::invalidate(start_idx, num_regions);
 379   }
 380 
 381 #ifndef PRODUCT
 382   static void print_from_card_cache() {
 383     FromCardCache::print();
 384   }
 385 #endif
 386 
 387   // These are wrappers for the similarly-named methods on
 388   // SparsePRT. Look at sparsePRT.hpp for more details.
 389   static void reset_for_cleanup_tasks();
 390   void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task);
 391   static void finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task);
 392 
 393   // Run unit tests.
 394 #ifndef PRODUCT

 395   static void test();
 396 #endif
 397 };
 398 
 399 class HeapRegionRemSetIterator : public StackObj {
 400  private:
 401   // The region RSet over which we are iterating.
 402   HeapRegionRemSet* _hrrs;
 403 
 404   // Local caching of HRRS fields.
 405   const BitMap*             _coarse_map;
 406 
 407   G1BlockOffsetSharedArray* _bosa;
 408   G1CollectedHeap*          _g1h;
 409 
 410   // The number of cards yielded since initialization.
 411   size_t _n_yielded_fine;
 412   size_t _n_yielded_coarse;
 413   size_t _n_yielded_sparse;
 414 


< prev index next >