Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp @ 845:df6caf649ff7
6700789: G1: Enable use of compressed oops with G1 heaps
Summary: Modifications to G1 so as to allow the use of compressed oops.
Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author | ysr |
---|---|
date | Tue, 14 Jul 2009 15:40:39 -0700 |
parents | 0fbdb4381b99 |
children | 0414c1049f15 |
comparison
equal
deleted
inserted
replaced
839:bb18957ad21e | 845:df6caf649ff7 |
---|---|
35 template<bool do_gen_barrier, G1Barrier barrier, | 35 template<bool do_gen_barrier, G1Barrier barrier, |
36 bool do_mark_forwardee, bool skip_cset_test> | 36 bool do_mark_forwardee, bool skip_cset_test> |
37 class G1ParCopyClosure; | 37 class G1ParCopyClosure; |
38 class G1ParScanClosure; | 38 class G1ParScanClosure; |
39 | 39 |
40 typedef G1ParCopyClosure<false, G1BarrierEvac, false, true> | 40 typedef G1ParCopyClosure<false, G1BarrierEvac, false, true> G1ParScanHeapEvacClosure; |
41 G1ParScanHeapEvacClosure; | |
42 | 41 |
43 class FilterIntoCSClosure; | 42 class FilterIntoCSClosure; |
44 class FilterOutOfRegionClosure; | 43 class FilterOutOfRegionClosure; |
45 class FilterInHeapRegionAndIntoCSClosure; | 44 class FilterInHeapRegionAndIntoCSClosure; |
46 class FilterAndMarkInHeapRegionAndIntoCSClosure; | 45 class FilterAndMarkInHeapRegionAndIntoCSClosure; |
47 class G1ScanAndBalanceClosure; | |
48 | 46 |
49 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES | 47 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES |
50 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." | 48 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." |
51 #endif | 49 #endif |
52 | 50 |
54 f(G1ParScanHeapEvacClosure,_nv) \ | 52 f(G1ParScanHeapEvacClosure,_nv) \ |
55 f(G1ParScanClosure,_nv) \ | 53 f(G1ParScanClosure,_nv) \ |
56 f(FilterIntoCSClosure,_nv) \ | 54 f(FilterIntoCSClosure,_nv) \ |
57 f(FilterOutOfRegionClosure,_nv) \ | 55 f(FilterOutOfRegionClosure,_nv) \ |
58 f(FilterInHeapRegionAndIntoCSClosure,_nv) \ | 56 f(FilterInHeapRegionAndIntoCSClosure,_nv) \ |
59 f(FilterAndMarkInHeapRegionAndIntoCSClosure,_nv) \ | 57 f(FilterAndMarkInHeapRegionAndIntoCSClosure,_nv) |
60 f(G1ScanAndBalanceClosure,_nv) | |
61 | 58 |
62 #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES | 59 #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES |
63 #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined." | 60 #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined." |
64 #endif | 61 #endif |
65 | 62 |