mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8027959: Early reclamation of large objects in G1
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness. Reviewed-by: brutisso, mgerdin
This commit is contained in:
parent
bc56e061ec
commit
f161bd6d16
12 changed files with 537 additions and 32 deletions
|
@ -695,6 +695,9 @@ void OtherRegionsTable::scrub(CardTableModRefBS* ctbs,
|
|||
clear_fcc();
|
||||
}
|
||||
|
||||
bool OtherRegionsTable::is_empty() const {
|
||||
return occ_sparse() == 0 && occ_coarse() == 0 && _first_all_fine_prts == NULL;
|
||||
}
|
||||
|
||||
size_t OtherRegionsTable::occupied() const {
|
||||
size_t sum = occ_fine();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue