Details
Description
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 forJDK-8212911.
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
Attachments
Issue Links
- is blocked by
-
JDK-8212911 Unify and micro-optimize handling of non-in-collection set references in oop closures
-
- Resolved
-
- relates to
-
JDK-8265409 Crash on building LineageOS with Problematic frame: # V [libjvm.so+0x6a1fe3] void G1ScanEvacuatedObjClosure::do_oop_work
-
- Closed
-
-
JDK-8273137 Improve skipping card enqueuing during gc if there are no remembered sets in old gen
-
- Open
-
-
JDK-8248892 JVM Crashed in G1ScanEvacuatedObjClosure::do_oop_work | OpenJDK build 11.0.7+10-LTS
-
- Closed
-