Integrated: 8365256: RelocIterator should use indexes instead of pointers
Johan Sjölen
jsjolen at openjdk.org
Wed Aug 27 07:58:52 UTC 2025
On Thu, 31 Jul 2025 06:17:24 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Hi,
>
> This PR replaces the `current` and `end` pointers with a `base` pointer alongside a `current` index and a `len`. This allows us to have `-1` as the initial value for current, while retaining `nullptr` as the 'dead' value for `_mutable_data`.
>
> Performance testing shows no difference/performance improvements on DaCapo Linux x64. I don't think that these are actual improvements, but at least there are no clear regressions.
>
> Testing: GHA
This pull request has now been integrated.
Changeset: 88c39793
Author: Johan Sjölen <jsjolen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/88c39793670f2d36490530993feb60e138f43a70
Stats: 88 lines in 4 files changed: 19 ins; 24 del; 45 mod
8365256: RelocIterator should use indexes instead of pointers
Reviewed-by: kvn, dlong
-------------
PR: https://git.openjdk.org/jdk/pull/26569
More information about the hotspot-compiler-dev
mailing list