Integrated: 8366037: Remove oopDesc::mark_addr()

Kim Barrett kbarrett at openjdk.org
Tue Aug 26 18:40:43 UTC 2025


On Sat, 23 Aug 2025 23:02:33 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change that removes the function oopDesc::mark_addr().
> It's kind of a suspicious function, since it is casting away the volatile for
> a location that has concurrent reads and writes. But there isn't any code that
> examines the value at the obtained address. Instead, it's just used as the
> base address for a few prefetches. We change those places accordingly, and
> remove the now unused mark_addr function.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: c203e709
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c203e7093e9b8c52cdf4ae249ab27d16d6a2c623
Stats:     16 lines in 4 files changed: 6 ins; 5 del; 5 mod

8366037: Remove oopDesc::mark_addr()

Reviewed-by: shade, stefank, tschatzl

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

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


More information about the hotspot-dev mailing list