src/share/vm/memory/genCollectedHeap.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/memory/genCollectedHeap.hpp Fri Oct 17 15:43:23 2014
--- new/src/share/vm/memory/genCollectedHeap.hpp Fri Oct 17 15:43:22 2014
*** 49,71 ****
--- 49,65 ----
friend class VM_HeapDumper;
friend class HeapInspection;
friend class GCCauseSetter;
friend class VMStructs;
public:
enum SomeConstants {
max_gens = 10
};
friend class VM_PopulateDumpSharedSpace;
protected:
// Fields:
static GenCollectedHeap* _gch;
private:
int _n_gens;
Generation* _young_gen;
Generation* _old_gen;
// The generational collector policy.
GenCollectorPolicy* _gen_policy;
*** 365,379 ****
--- 359,368 ----
// Return "true" if all generations have reached the
// maximal committed limit that they can reach, without a garbage
// collection.
virtual bool is_maximal_no_gc() const;
int n_gens() const {
assert(_n_gens == gen_policy()->number_of_generations(), "Sanity");
return _n_gens;
}
// Convenience function to be used in situations where the heap type can be
// asserted to be this type.
static GenCollectedHeap* heap();
void set_par_threads(uint t);
src/share/vm/memory/genCollectedHeap.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File