Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp @ 3771:842b840e67db
7046558: G1: concurrent marking optimizations
Summary: Some optimizations to improve the concurrent marking phase: specialize the main oop closure, make sure a few methods in the fast path are properly inlined, a few more bits and pieces, and some cosmetic fixes.
Reviewed-by: stefank, johnc
author | tonyp |
---|---|
date | Tue, 14 Jun 2011 10:33:43 -0400 |
parents | ae5b2f1dcf12 |
children | eeae91c9baba |
comparison
equal
deleted
inserted
replaced
3770:74cd10898bea | 3771:842b840e67db |
---|---|
43 | 43 |
44 typedef G1ParCopyClosure<false, G1BarrierEvac, false> G1ParScanHeapEvacClosure; | 44 typedef G1ParCopyClosure<false, G1BarrierEvac, false> G1ParScanHeapEvacClosure; |
45 | 45 |
46 class FilterIntoCSClosure; | 46 class FilterIntoCSClosure; |
47 class FilterOutOfRegionClosure; | 47 class FilterOutOfRegionClosure; |
48 class G1CMOopClosure; | |
48 | 49 |
49 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES | 50 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES |
50 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." | 51 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." |
51 #endif | 52 #endif |
52 | 53 |
53 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ | 54 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ |
54 f(G1ParScanHeapEvacClosure,_nv) \ | 55 f(G1ParScanHeapEvacClosure,_nv) \ |
55 f(G1ParScanClosure,_nv) \ | 56 f(G1ParScanClosure,_nv) \ |
56 f(G1ParPushHeapRSClosure,_nv) \ | 57 f(G1ParPushHeapRSClosure,_nv) \ |
57 f(FilterIntoCSClosure,_nv) \ | 58 f(FilterIntoCSClosure,_nv) \ |
58 f(FilterOutOfRegionClosure,_nv) | 59 f(FilterOutOfRegionClosure,_nv) \ |
60 f(G1CMOopClosure,_nv) | |
59 | 61 |
60 #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES | 62 #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES |
61 #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined." | 63 #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined." |
62 #endif | 64 #endif |
63 | 65 |