Blocks :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
G1ScanEvacuatedObjClosure needs to be told where the object that is scanned is located (young/old) to properly handle additions to the remembered sets. Currently we call a method on G1ScanEvacuatedObjClosure to do so, but it would be better to use an RAII object that automatically sets and resets it. With an additional "Uninitialized" state, basic checking whether the value has been set to find bugs can be implemented easily too. Suggested by ~kbarrett in the review thread for JDK-8212911.
|