480 bool* gc_overhead_limit_was_exceeded);
481
482 // Override
483 void check_for_non_bad_heap_word_value(HeapWord* addr,
484 size_t size) PRODUCT_RETURN;
485
486 #if INCLUDE_SERIALGC
487 // For use by mark-sweep. As implemented, mark-sweep-compact is global
488 // in an essential way: compaction is performed across generations, by
489 // iterating over spaces.
490 void prepare_for_compaction();
491 #endif
492
493 // Perform a full collection of the generations up to and including max_generation.
494 // This is the low level interface used by the public versions of
495 // collect() and collect_locked(). Caller holds the Heap_lock on entry.
496 void collect_locked(GCCause::Cause cause, GenerationType max_generation);
497
498 // Save the tops of the spaces in all generations
499 void record_gen_tops_before_GC() PRODUCT_RETURN;
500 };
501
502 #endif // SHARE_GC_SHARED_GENCOLLECTEDHEAP_HPP
|
480 bool* gc_overhead_limit_was_exceeded);
481
482 // Override
483 void check_for_non_bad_heap_word_value(HeapWord* addr,
484 size_t size) PRODUCT_RETURN;
485
486 #if INCLUDE_SERIALGC
487 // For use by mark-sweep. As implemented, mark-sweep-compact is global
488 // in an essential way: compaction is performed across generations, by
489 // iterating over spaces.
490 void prepare_for_compaction();
491 #endif
492
493 // Perform a full collection of the generations up to and including max_generation.
494 // This is the low level interface used by the public versions of
495 // collect() and collect_locked(). Caller holds the Heap_lock on entry.
496 void collect_locked(GCCause::Cause cause, GenerationType max_generation);
497
498 // Save the tops of the spaces in all generations
499 void record_gen_tops_before_GC() PRODUCT_RETURN;
500
501 // Return true if we need to perform full collection.
502 bool should_do_full_collection(size_t size, bool full,
503 bool is_tlab, GenerationType max_gen) const;
504 };
505
506 #endif // SHARE_GC_SHARED_GENCOLLECTEDHEAP_HPP
|