8165443: Free Collection Set serial phase takes very long on large heaps

Reviewed-by: tschatzl, kbarrett
This commit is contained in:
Stefan Johansson 2019-12-09 10:26:41 +01:00
parent 4c4d6cdc92
commit 9cabfa82ff
16 changed files with 511 additions and 262 deletions

View file

@ -172,6 +172,9 @@ public:
// Insert the given region into the free region list.
inline void insert_into_free_list(HeapRegion* hr);
// Rebuild the free region list from scratch.
void rebuild_free_list(WorkGang* workers);
// Insert the given region list into the global free region list.
void insert_list_into_free_list(FreeRegionList* list) {
_free_list.add_ordered(list);