-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
master
The current condition is:
if (PSScavenge::is_obj_in_young(new_obj) && !_has_oops_into_young_gen) {
As noted during the review ofJDK-8367347, if we swap the order we'll have the trivial check first. This could be easier for readers and the branch predictor.
if (PSScavenge::is_obj_in_young(new_obj) && !_has_oops_into_young_gen) {
As noted during the review of
- links to
-
Commit(master) openjdk/jdk/5f43345d
-
Review(master) openjdk/jdk/27237