comparison src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.hpp @ 535:4e400c36026f

6783381: NUMA allocator: don't pretouch eden space with UseNUMA Summary: Moved pretouching to MutableSpace. Also MutableSpace now turns on page interleaving for the region it covers. Reviewed-by: jmasa, jcoomes
author iveresov
date Tue, 27 Jan 2009 18:13:59 -0800
parents a61af66fc99e
children 0fbdb4381b99
comparison
equal deleted inserted replaced
534:5cfd8d19e546 535:4e400c36026f
78 78
79 // Operations. 79 // Operations.
80 inline void set_reserved(char* low_addr, char* high_addr, bool special); 80 inline void set_reserved(char* low_addr, char* high_addr, bool special);
81 inline void set_reserved(ReservedSpace rs); 81 inline void set_reserved(ReservedSpace rs);
82 inline void set_committed(char* low_addr, char* high_addr); 82 inline void set_committed(char* low_addr, char* high_addr);
83 virtual bool expand_by(size_t bytes, bool pre_touch = false); 83 virtual bool expand_by(size_t bytes);
84 virtual bool shrink_by(size_t bytes); 84 virtual bool shrink_by(size_t bytes);
85 virtual size_t expand_into(PSVirtualSpace* space, size_t bytes); 85 virtual size_t expand_into(PSVirtualSpace* space, size_t bytes);
86 void release(); 86 void release();
87 87
88 #ifndef PRODUCT 88 #ifndef PRODUCT
125 friend class VMStructs; 125 friend class VMStructs;
126 public: 126 public:
127 PSVirtualSpaceHighToLow(ReservedSpace rs, size_t alignment); 127 PSVirtualSpaceHighToLow(ReservedSpace rs, size_t alignment);
128 PSVirtualSpaceHighToLow(ReservedSpace rs); 128 PSVirtualSpaceHighToLow(ReservedSpace rs);
129 129
130 virtual bool expand_by(size_t bytes, bool pre_touch = false); 130 virtual bool expand_by(size_t bytes);
131 virtual bool shrink_by(size_t bytes); 131 virtual bool shrink_by(size_t bytes);
132 virtual size_t expand_into(PSVirtualSpace* space, size_t bytes); 132 virtual size_t expand_into(PSVirtualSpace* space, size_t bytes);
133 133
134 virtual void print_space_boundaries_on(outputStream* st) const; 134 virtual void print_space_boundaries_on(outputStream* st) const;
135 135