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