1.1 --- a/src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,13 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP 1.8 +#define SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP 1.9 + 1.10 +#include "gc_implementation/g1/g1RemSet.hpp" 1.11 +#include "gc_implementation/g1/heapRegionRemSet.hpp" 1.12 +#include "oops/oop.inline.hpp" 1.13 + 1.14 inline size_t G1RemSet::n_workers() { 1.15 if (_g1->workers() != NULL) { 1.16 return _g1->workers()->total_workers(); 1.17 @@ -145,3 +152,5 @@ 1.18 } 1.19 } 1.20 1.21 + 1.22 +#endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP