Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp Mon Jun 13 13:48:18 2011 +0200 +++ b/src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp Tue Jun 14 10:33:43 2011 -0400 @@ -45,6 +45,7 @@ class FilterIntoCSClosure; class FilterOutOfRegionClosure; +class G1CMOopClosure; #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." @@ -55,7 +56,8 @@ f(G1ParScanClosure,_nv) \ f(G1ParPushHeapRSClosure,_nv) \ f(FilterIntoCSClosure,_nv) \ - f(FilterOutOfRegionClosure,_nv) + f(FilterOutOfRegionClosure,_nv) \ + f(G1CMOopClosure,_nv) #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined."