RFR: 8374782: Parallel: Investigate removal of specialized objArray iteration code

Ivan Walulya iwalulya at openjdk.org
Thu Jan 29 14:28:41 UTC 2026


Hi,

Please review this change removes specialized local methods used to iterate over array slices in `PSPromotionManager`. Any performance differences between these methods and `objArrayOopDesc::oop_iterate_elements_range` are attributable to differences in inlining behavior. For this reason, `ALWAYSINLINE` is applied. Further investigation is ongoing to improve inlining of calls through `objArrayOopDesc::oop_iterate_elements_range`.

Testing: Tier 1-3, perf testing with SPECjvm2008-XML.validation.

-------------

Commit messages:
 - Merge remote-tracking branch 'upstream/master' into JDK-8374782
 - ALWAYSINLINE
 - init

Changes: https://git.openjdk.org/jdk/pull/29486/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29486&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374782
  Stats: 29 lines in 3 files changed: 2 ins; 17 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/29486.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29486/head:pull/29486

PR: https://git.openjdk.org/jdk/pull/29486


More information about the hotspot-gc-dev mailing list