[jdk25u] RFR: 8357959: (bf) ByteBuffer.allocateDirect initialization can result in large TTSP spikes

duke duke at openjdk.org
Tue Aug 26 12:28:35 UTC 2025


On Fri, 22 Aug 2025 13:42:13 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

> Hi all,
> 
> This pull request contains a backport of commit [e5ce5c57](https://github.com/openjdk/jdk/commit/e5ce5c57c83972ff52758a804c942986cab74ca7) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
> 
> The commit being backported was authored by Rohitash Kumar on 12 Jun 2025 and was reviewed by Aleksey Shipilev and Alan Bateman.
> 
> Thanks!
> 
> Clean backport, confirmed that it has the desired effect on [reproducer](https://gist.github.com/rk-kmr/be4322b72a14ae04aeefc0260c01acf6).
> 
> Before: ~1000ms to reach safepoint
> After: 0.2ms to reach safepoint

@olivergillespie 
Your change (at version 523cbbefa894c2134dfb5419511996ad7ca7ee40) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u/pull/125#issuecomment-3223967267


More information about the jdk-updates-dev mailing list