Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp @ 18041:52b4284cb496
Merge with jdk8u20-b26
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 15 Oct 2014 16:02:50 +0200 |
parents | 4ca6dc0799b6 bc22cbb8b45a |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
17606:45d7b2c7029d | 18041:52b4284cb496 |
---|---|
31 // macros in the obvious way to add specializations for new closures. | 31 // macros in the obvious way to add specializations for new closures. |
32 | 32 |
33 // Forward declarations. | 33 // Forward declarations. |
34 enum G1Barrier { | 34 enum G1Barrier { |
35 G1BarrierNone, | 35 G1BarrierNone, |
36 G1BarrierRS, | |
37 G1BarrierEvac, | 36 G1BarrierEvac, |
38 G1BarrierKlass | 37 G1BarrierKlass |
39 }; | 38 }; |
40 | 39 |
41 template<bool do_gen_barrier, G1Barrier barrier, bool do_mark_object> | 40 template<G1Barrier barrier, bool do_mark_object> |
42 class G1ParCopyClosure; | 41 class G1ParCopyClosure; |
43 | 42 |
44 class G1ParScanClosure; | 43 class G1ParScanClosure; |
45 class G1ParPushHeapRSClosure; | 44 class G1ParPushHeapRSClosure; |
46 | |
47 typedef G1ParCopyClosure<false, G1BarrierEvac, false> G1ParScanHeapEvacClosure; | |
48 | 45 |
49 class FilterIntoCSClosure; | 46 class FilterIntoCSClosure; |
50 class FilterOutOfRegionClosure; | 47 class FilterOutOfRegionClosure; |
51 class G1CMOopClosure; | 48 class G1CMOopClosure; |
52 class G1RootRegionScanClosure; | 49 class G1RootRegionScanClosure; |
60 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES | 57 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES |
61 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." | 58 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." |
62 #endif | 59 #endif |
63 | 60 |
64 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ | 61 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ |
65 f(G1ParScanHeapEvacClosure,_nv) \ | |
66 f(G1ParScanClosure,_nv) \ | 62 f(G1ParScanClosure,_nv) \ |
67 f(G1ParPushHeapRSClosure,_nv) \ | 63 f(G1ParPushHeapRSClosure,_nv) \ |
68 f(FilterIntoCSClosure,_nv) \ | 64 f(FilterIntoCSClosure,_nv) \ |
69 f(FilterOutOfRegionClosure,_nv) \ | 65 f(FilterOutOfRegionClosure,_nv) \ |
70 f(G1CMOopClosure,_nv) \ | 66 f(G1CMOopClosure,_nv) \ |