RFR: 8372040: Remove Prefetch header vs inline header separation [v2]

jonghoonpark duke at openjdk.org
Fri Jan 9 14:10:42 UTC 2026


> related jira issue: https://bugs.openjdk.org/browse/JDK-8372040
> 
> ---
> 
> ## Changes
> 
> - Merged `prefetch.hpp` into `prefetch.inline.hpp` and removed the redundant `prefetch.hpp`. Updated all call sites accordingly.
> - Removed `runtime/prefetch.inline.hpp` from `generation.hpp` to adhere to the rule that standard headers should not include inline headers.
>     - Added the inclusion of `runtime/prefetch.inline.hpp` to `cardTableRS.cpp` instead.
> - Removed `runtime/prefetch.hpp` from `g1YoungGCPostEvacuateTasks.cpp` as it is already included via `g1HeapRegion.inline.hpp`.
> 
> ---
> 
> Verified with tier1 testing; no regressions found.

jonghoonpark has updated the pull request incrementally with one additional commit since the last revision:

  Add explicit prefetch include and clarify platform dependencies
  
  Signed-off-by: jonghoonpark <dev at jonghoonpark.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29096/files
  - new: https://git.openjdk.org/jdk/pull/29096/files/23f96e21..f0a7117f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29096&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29096&range=00-01

  Stats: 14 lines in 14 files changed: 14 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29096.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29096/head:pull/29096

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


More information about the hotspot-dev mailing list