< prev index next >
src/hotspot/share/gc/shared/genCollectedHeap.hpp
Print this page
rev 54012 : 8215221: Serial GC misreports young GC time
Reviewed-by: kbarrett, manc
@@ -495,8 +495,12 @@
// 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;
+
+ // Return true if we need to perform full collection.
+ bool should_do_full_collection(size_t size, bool full,
+ bool is_tlab, GenerationType max_gen) const;
};
#endif // SHARE_GC_SHARED_GENCOLLECTEDHEAP_HPP
< prev index next >