< prev index next >

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

Print this page

        

*** 397,406 **** --- 397,414 ---- CodeBlobToOopClosure* code_roots); void process_string_table_roots(StrongRootsScope* scope, OopClosure* root_closure); + // Accessor for memory state verification support + NOT_PRODUCT( + virtual size_t skip_header_HeapWords() { return 0; } + ) + + virtual void gc_prologue(bool full); + virtual void gc_epilogue(bool full); + public: void young_process_roots(StrongRootsScope* scope, OopsInGenClosure* root_closure, OopsInGenClosure* old_gen_closure, CLDClosure* cld_closure);
*** 470,485 **** oop handle_failed_promotion(Generation* old_gen, oop obj, size_t obj_size); - protected: - // Accessor for memory state verification support - NOT_PRODUCT( - virtual size_t skip_header_HeapWords() { return 0; } - ) - private: // Override void check_for_non_bad_heap_word_value(HeapWord* addr, size_t size) PRODUCT_RETURN; --- 478,487 ----
*** 493,505 **** // collect() and collect_locked(). Caller holds the Heap_lock on entry. void collect_locked(GCCause::Cause cause, GenerationType max_generation); // Save the tops of the spaces in all generations void record_gen_tops_before_GC() PRODUCT_RETURN; - - protected: - virtual void gc_prologue(bool full); - virtual void gc_epilogue(bool full); - }; #endif // SHARE_VM_GC_SHARED_GENCOLLECTEDHEAP_HPP --- 495,502 ----
< prev index next >