< prev index next >

src/hotspot/share/gc/g1/g1CollectedHeap.hpp

Print this page




1420 
1421   // vo == UsePrevMarking -> use "prev" marking information,
1422   // vo == UseNextMarking -> use "next" marking information
1423   // vo == UseFullMarking -> use "next" marking bitmap but no TAMS
1424   //
1425   // NOTE: Only the "prev" marking information is guaranteed to be
1426   // consistent most of the time, so most calls to this should use
1427   // vo == UsePrevMarking.
1428   // Currently, there is only one case where this is called with
1429   // vo == UseNextMarking, which is to verify the "next" marking
1430   // information at the end of remark.
1431   // Currently there is only one place where this is called with
1432   // vo == UseFullMarking, which is to verify the marking during a
1433   // full GC.
1434   void verify(VerifyOption vo);
1435 
1436   // WhiteBox testing support.
1437   virtual bool supports_concurrent_gc_breakpoints() const;
1438   bool is_heterogeneous_heap() const;
1439 
1440   virtual WorkGang* get_safepoint_workers() { return _workers; }
1441 
1442   // The methods below are here for convenience and dispatch the
1443   // appropriate method depending on value of the given VerifyOption
1444   // parameter. The values for that parameter, and their meanings,
1445   // are the same as those above.
1446 
1447   bool is_obj_dead_cond(const oop obj,
1448                         const HeapRegion* hr,
1449                         const VerifyOption vo) const;
1450 
1451   bool is_obj_dead_cond(const oop obj,
1452                         const VerifyOption vo) const;
1453 
1454   G1HeapSummary create_g1_heap_summary();
1455   G1EvacSummary create_g1_evac_summary(G1EvacStats* stats);
1456 
1457   // Printing
1458 private:
1459   void print_heap_regions() const;
1460   void print_regions_on(outputStream* st) const;




1420 
1421   // vo == UsePrevMarking -> use "prev" marking information,
1422   // vo == UseNextMarking -> use "next" marking information
1423   // vo == UseFullMarking -> use "next" marking bitmap but no TAMS
1424   //
1425   // NOTE: Only the "prev" marking information is guaranteed to be
1426   // consistent most of the time, so most calls to this should use
1427   // vo == UsePrevMarking.
1428   // Currently, there is only one case where this is called with
1429   // vo == UseNextMarking, which is to verify the "next" marking
1430   // information at the end of remark.
1431   // Currently there is only one place where this is called with
1432   // vo == UseFullMarking, which is to verify the marking during a
1433   // full GC.
1434   void verify(VerifyOption vo);
1435 
1436   // WhiteBox testing support.
1437   virtual bool supports_concurrent_gc_breakpoints() const;
1438   bool is_heterogeneous_heap() const;
1439 
1440   virtual WorkGang* safepoint_workers() { return _workers; }
1441 
1442   // The methods below are here for convenience and dispatch the
1443   // appropriate method depending on value of the given VerifyOption
1444   // parameter. The values for that parameter, and their meanings,
1445   // are the same as those above.
1446 
1447   bool is_obj_dead_cond(const oop obj,
1448                         const HeapRegion* hr,
1449                         const VerifyOption vo) const;
1450 
1451   bool is_obj_dead_cond(const oop obj,
1452                         const VerifyOption vo) const;
1453 
1454   G1HeapSummary create_g1_heap_summary();
1455   G1EvacSummary create_g1_evac_summary(G1EvacStats* stats);
1456 
1457   // Printing
1458 private:
1459   void print_heap_regions() const;
1460   void print_regions_on(outputStream* st) const;


< prev index next >