8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector

Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
This commit is contained in:
Leo Korinth 2019-11-13 11:37:29 +01:00
parent b8b88853a5
commit 1fc67ab002
239 changed files with 220 additions and 27246 deletions

View file

@ -102,8 +102,7 @@ class PSPromotionManager {
// partially-scanned arrays (in the latter case, we push an oop to
// the from-space image of the array and the length on the
// from-space image indicates how many entries on the array we still
// need to scan; this is basically how ParNew does partial array
// scanning too). To be able to distinguish between reference
// need to scan. To be able to distinguish between reference
// locations and partially-scanned array oops we simply mask the
// latter oops with 0x01. The next three methods do the masking,
// unmasking, and checking whether the oop is masked or not. Notice