< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.hpp

Print this page

24 
25 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHROOTVERIFIER_HPP
26 #define SHARE_GC_SHENANDOAH_SHENANDOAHROOTVERIFIER_HPP
27 
28 #include "memory/allocation.hpp"
29 #include "memory/iterator.hpp"
30 
31 class ShenandoahGCStateResetter : public StackObj {
32 private:
33   ShenandoahHeap* const _heap;
34   const char _gc_state;
35 
36 public:
37   ShenandoahGCStateResetter();
38   ~ShenandoahGCStateResetter();
39 };
40 
41 class ShenandoahRootVerifier : public AllStatic {
42 public:
43   // Used to seed ShenandoahVerifier, do not honor root type filter
44   static void roots_do(OopClosure* cl);
45   static void strong_roots_do(OopClosure* cl);
46 };
47 
48 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHROOTVERIFIER_HPP

24 
25 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHROOTVERIFIER_HPP
26 #define SHARE_GC_SHENANDOAH_SHENANDOAHROOTVERIFIER_HPP
27 
28 #include "memory/allocation.hpp"
29 #include "memory/iterator.hpp"
30 
31 class ShenandoahGCStateResetter : public StackObj {
32 private:
33   ShenandoahHeap* const _heap;
34   const char _gc_state;
35 
36 public:
37   ShenandoahGCStateResetter();
38   ~ShenandoahGCStateResetter();
39 };
40 
41 class ShenandoahRootVerifier : public AllStatic {
42 public:
43   // Used to seed ShenandoahVerifier, do not honor root type filter
44   static void roots_do(OopIterateClosure* cl);
45   static void strong_roots_do(OopIterateClosure* cl);
46 };
47 
48 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHROOTVERIFIER_HPP
< prev index next >