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

Oli Gillespie ogillespie at openjdk.org
Tue Aug 26 13:07:38 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

This pull request has now been integrated.

Changeset: 111fcc31
Author:    Oli Gillespie <ogillespie at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk25u/commit/111fcc31158ca17337f4b6254541b95481263cfd
Stats:     132 lines in 4 files changed: 115 ins; 0 del; 17 mod

8357959: (bf) ByteBuffer.allocateDirect initialization can result in large TTSP spikes

Backport-of: e5ce5c57c83972ff52758a804c942986cab74ca7

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

PR: https://git.openjdk.org/jdk25u/pull/125


More information about the jdk-updates-dev mailing list