Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp @ 17759:bc22cbb8b45a
8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure
Summary: Mentioned closures are actually wrapped methods. This adds confusion to readers, and in this case also increases code size as G1ParScanHeapEvacClosure is part of the oop_oop_iterate() methods. Move them into G1ParScanThreadState as methods.
Reviewed-by: stefank
author | tschatzl |
---|---|
date | Mon, 24 Mar 2014 15:30:56 +0100 |
parents | 889068b9a088 |
children | 52b4284cb496 2c6ef90f030a |
comparison
equal
deleted
inserted
replaced
17758:ae7336d6337e | 17759:bc22cbb8b45a |
---|---|
41 class G1ParCopyClosure; | 41 class G1ParCopyClosure; |
42 | 42 |
43 class G1ParScanClosure; | 43 class G1ParScanClosure; |
44 class G1ParPushHeapRSClosure; | 44 class G1ParPushHeapRSClosure; |
45 | 45 |
46 typedef G1ParCopyClosure<G1BarrierEvac, false> G1ParScanHeapEvacClosure; | |
47 | |
48 class FilterIntoCSClosure; | 46 class FilterIntoCSClosure; |
49 class FilterOutOfRegionClosure; | 47 class FilterOutOfRegionClosure; |
50 class G1CMOopClosure; | 48 class G1CMOopClosure; |
51 class G1RootRegionScanClosure; | 49 class G1RootRegionScanClosure; |
52 | 50 |
59 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES | 57 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES |
60 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." | 58 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." |
61 #endif | 59 #endif |
62 | 60 |
63 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ | 61 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ |
64 f(G1ParScanHeapEvacClosure,_nv) \ | |
65 f(G1ParScanClosure,_nv) \ | 62 f(G1ParScanClosure,_nv) \ |
66 f(G1ParPushHeapRSClosure,_nv) \ | 63 f(G1ParPushHeapRSClosure,_nv) \ |
67 f(FilterIntoCSClosure,_nv) \ | 64 f(FilterIntoCSClosure,_nv) \ |
68 f(FilterOutOfRegionClosure,_nv) \ | 65 f(FilterOutOfRegionClosure,_nv) \ |
69 f(G1CMOopClosure,_nv) \ | 66 f(G1CMOopClosure,_nv) \ |