equal
deleted
inserted
replaced
500 |
500 |
501 // Override |
501 // Override |
502 void check_for_non_bad_heap_word_value(HeapWord* addr, |
502 void check_for_non_bad_heap_word_value(HeapWord* addr, |
503 size_t size) PRODUCT_RETURN; |
503 size_t size) PRODUCT_RETURN; |
504 |
504 |
|
505 #if INCLUDE_SERIALGC |
505 // For use by mark-sweep. As implemented, mark-sweep-compact is global |
506 // For use by mark-sweep. As implemented, mark-sweep-compact is global |
506 // in an essential way: compaction is performed across generations, by |
507 // in an essential way: compaction is performed across generations, by |
507 // iterating over spaces. |
508 // iterating over spaces. |
508 void prepare_for_compaction(); |
509 void prepare_for_compaction(); |
|
510 #endif |
509 |
511 |
510 // Perform a full collection of the generations up to and including max_generation. |
512 // Perform a full collection of the generations up to and including max_generation. |
511 // This is the low level interface used by the public versions of |
513 // This is the low level interface used by the public versions of |
512 // collect() and collect_locked(). Caller holds the Heap_lock on entry. |
514 // collect() and collect_locked(). Caller holds the Heap_lock on entry. |
513 void collect_locked(GCCause::Cause cause, GenerationType max_generation); |
515 void collect_locked(GCCause::Cause cause, GenerationType max_generation); |