comparison src/share/vm/gc/g1/concurrentMark.hpp @ 9396:983c56341c80

8134953: Make the GC ID available in a central place Reviewed-by: pliden, jmasa
author brutisso
date Wed, 30 Sep 2015 09:07:21 +0200
parents 90861a3150d0
children f6da147987bb
comparison
equal deleted inserted replaced
3:7889f35c7b9b 4:6c481c567cfb
26 #define SHARE_VM_GC_G1_CONCURRENTMARK_HPP 26 #define SHARE_VM_GC_G1_CONCURRENTMARK_HPP
27 27
28 #include "classfile/javaClasses.hpp" 28 #include "classfile/javaClasses.hpp"
29 #include "gc/g1/g1RegionToSpaceMapper.hpp" 29 #include "gc/g1/g1RegionToSpaceMapper.hpp"
30 #include "gc/g1/heapRegionSet.hpp" 30 #include "gc/g1/heapRegionSet.hpp"
31 #include "gc/shared/gcId.hpp"
32 #include "gc/shared/taskqueue.hpp" 31 #include "gc/shared/taskqueue.hpp"
33 32
34 class G1CollectedHeap; 33 class G1CollectedHeap;
35 class CMBitMap; 34 class CMBitMap;
36 class CMTask; 35 class CMTask;
423 volatile bool _has_overflown; 422 volatile bool _has_overflown;
424 // True: marking is concurrent, false: we're in remark 423 // True: marking is concurrent, false: we're in remark
425 volatile bool _concurrent; 424 volatile bool _concurrent;
426 // Set at the end of a Full GC so that marking aborts 425 // Set at the end of a Full GC so that marking aborts
427 volatile bool _has_aborted; 426 volatile bool _has_aborted;
428 GCId _aborted_gc_id;
429 427
430 // Used when remark aborts due to an overflow to indicate that 428 // Used when remark aborts due to an overflow to indicate that
431 // another concurrent marking phase should start 429 // another concurrent marking phase should start
432 volatile bool _restart_for_overflow; 430 volatile bool _restart_for_overflow;
433 431
766 // Called to abort the marking cycle after a Full GC takes place. 764 // Called to abort the marking cycle after a Full GC takes place.
767 void abort(); 765 void abort();
768 766
769 bool has_aborted() { return _has_aborted; } 767 bool has_aborted() { return _has_aborted; }
770 768
771 const GCId& concurrent_gc_id();
772
773 // This prints the global/local fingers. It is used for debugging. 769 // This prints the global/local fingers. It is used for debugging.
774 NOT_PRODUCT(void print_finger();) 770 NOT_PRODUCT(void print_finger();)
775 771
776 void print_summary_info(); 772 void print_summary_info();
777 773