comparison src/share/vm/gc_implementation/g1/g1_specialized_oop_closures.hpp @ 3765:ae5b2f1dcf12

7045662: G1: OopsInHeapRegionClosure::set_region() should not be virtual Summary: make the method non-virtual, remove five unused closures, and fix a couple of copyright typos. Reviewed-by: stefank, johnc, poonam
author tonyp
date Wed, 08 Jun 2011 21:48:38 -0400
parents f95d63e2154a
children 842b840e67db
comparison
equal deleted inserted replaced
3764:053d84a76d3d 3765:ae5b2f1dcf12
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
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 FilterInHeapRegionAndIntoCSClosure;
49 class FilterAndMarkInHeapRegionAndIntoCSClosure;
50 48
51 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES 49 #ifdef FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES
52 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined." 50 #error "FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES already defined."
53 #endif 51 #endif
54 52
55 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \ 53 #define FURTHER_SPECIALIZED_OOP_OOP_ITERATE_CLOSURES(f) \
56 f(G1ParScanHeapEvacClosure,_nv) \ 54 f(G1ParScanHeapEvacClosure,_nv) \
57 f(G1ParScanClosure,_nv) \ 55 f(G1ParScanClosure,_nv) \
58 f(G1ParPushHeapRSClosure,_nv) \ 56 f(G1ParPushHeapRSClosure,_nv) \
59 f(FilterIntoCSClosure,_nv) \ 57 f(FilterIntoCSClosure,_nv) \
60 f(FilterOutOfRegionClosure,_nv) \ 58 f(FilterOutOfRegionClosure,_nv)
61 f(FilterInHeapRegionAndIntoCSClosure,_nv) \
62 f(FilterAndMarkInHeapRegionAndIntoCSClosure,_nv)
63 59
64 #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES 60 #ifdef FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES
65 #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined." 61 #error "FURTHER_SPECIALIZED_SINCE_SAVE_MARKS_CLOSURES already defined."
66 #endif 62 #endif
67 63