src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp

changeset 6992
2c6ef90f030a
parent 6408
bc22cbb8b45a
child 7535
7ae4e26cb1e0
     1.1 --- a/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp	Tue Jul 01 09:03:55 2014 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp	Mon Jul 07 10:12:40 2014 +0200
     1.3 @@ -30,14 +30,21 @@
     1.4  // non-virtually, using a mechanism defined in this file.  Extend these
     1.5  // macros in the obvious way to add specializations for new closures.
     1.6  
     1.7 -// Forward declarations.
     1.8  enum G1Barrier {
     1.9    G1BarrierNone,
    1.10    G1BarrierEvac,
    1.11    G1BarrierKlass
    1.12  };
    1.13  
    1.14 -template<G1Barrier barrier, bool do_mark_object>
    1.15 +enum G1Mark {
    1.16 +  G1MarkNone,
    1.17 +  G1MarkFromRoot,
    1.18 +  G1MarkPromotedFromRoot
    1.19 +};
    1.20 +
    1.21 +// Forward declarations.
    1.22 +
    1.23 +template<G1Barrier barrier, G1Mark do_mark_object>
    1.24  class G1ParCopyClosure;
    1.25  
    1.26  class G1ParScanClosure;

mercurial