RFR: 8371643: Remove ThreadLocalAllocBuffer::_reserve_for_allocation_prefetch

Vladimir Kozlov kvn at openjdk.org
Tue Nov 11 16:20:20 UTC 2025


On Tue, 11 Nov 2025 15:42:21 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Trivial removing obsoleted code for unsupported arch.
> 
> Test: tier1

What happens if TLAB is at the end of heap page? Are you sure "prefetch" instructions on all OpenJDK platforms can touch unmapped memory?  I see PPC can use `AllocatePrefetchStyle == 3`.

Please ask all OpenJDK platforms supporters to test these changes.

Note, when this code was introduced we did not have so many platforms.

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

PR Comment: https://git.openjdk.org/jdk/pull/28240#issuecomment-3517679023
PR Comment: https://git.openjdk.org/jdk/pull/28240#issuecomment-3517685947


More information about the hotspot-dev mailing list