Integrated: 8374782: Parallel: Remove specialized objArray iteration code

Ivan Walulya iwalulya at openjdk.org
Wed Feb 4 09:54:57 UTC 2026


On Thu, 29 Jan 2026 12:58:01 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 848171a6
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/848171a6ccc6c3610b8de0c871d0082204369bee
Stats:     29 lines in 3 files changed: 2 ins; 17 del; 10 mod

8374782: Parallel: Remove specialized objArray iteration code

Reviewed-by: tschatzl, ayang

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

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


More information about the hotspot-gc-dev mailing list