-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b17
`ScavengeRootsTask` use `MarkingNMethodClosure` to process oops inside nmethods during young-gc. However, since young-gc using scavenging, instead of marking, there is no need for `MarkingNMethodClosure` -- `NMethodToOopClosure` is enough.
After switching to `NMethodToOopClosure`, the part of undoing the effect of nmethod-claiming inside `MarkingNMethodClosure` becomes unneeded, and `StrongRootsScope` becomes essential threads-claim-token only.
This is similar what's is done for Serial inJDK-8367417.
After switching to `NMethodToOopClosure`, the part of undoing the effect of nmethod-claiming inside `MarkingNMethodClosure` becomes unneeded, and `StrongRootsScope` becomes essential threads-claim-token only.
This is similar what's is done for Serial in
- causes
-
JDK-8368345 Remove leftover includes of strongRootsScope.hpp
-
- Resolved
-
- relates to
-
JDK-8367417 Serial: Use NMethodToOopClosure during Young GC
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/28879d3d
-
Review(master)
openjdk/jdk/27336