< prev index next >

src/share/vm/gc/shared/genCollectedHeap.hpp

Print this page

        

*** 140,149 **** --- 140,157 ---- virtual Name kind() const { return CollectedHeap::GenCollectedHeap; } + virtual const char* name() const { + if (UseConcMarkSweepGC) { + return "Concurrent Mark Sweep"; + } else { + return "Serial"; + } + } + Generation* young_gen() const { return _young_gen; } Generation* old_gen() const { return _old_gen; } bool is_young_gen(const Generation* gen) const { return gen == _young_gen; } bool is_old_gen(const Generation* gen) const { return gen == _old_gen; }
*** 327,347 **** // Override. void prepare_for_verify(); // Override. ! void verify(bool silent, VerifyOption option); // Override. virtual void print_on(outputStream* st) const; virtual void print_gc_threads_on(outputStream* st) const; virtual void gc_threads_do(ThreadClosure* tc) const; virtual void print_tracing_info() const; virtual void print_on_error(outputStream* st) const; ! // PrintGC, PrintGCDetails support ! void print_heap_change(size_t prev_used) const; // The functions below are helper functions that a subclass of // "CollectedHeap" can use in the implementation of its virtual // functions. --- 335,354 ---- // Override. void prepare_for_verify(); // Override. ! void verify(VerifyOption option); // Override. virtual void print_on(outputStream* st) const; virtual void print_gc_threads_on(outputStream* st) const; virtual void gc_threads_do(ThreadClosure* tc) const; virtual void print_tracing_info() const; virtual void print_on_error(outputStream* st) const; ! void print_heap_change(size_t young_prev_used, size_t old_prev_used) const; // The functions below are helper functions that a subclass of // "CollectedHeap" can use in the implementation of its virtual // functions.
< prev index next >