RFR: 8371637: allocateNativeInternal sometimes return incorrectly aligned memory

Harald Eilertsen haraldei at openjdk.org
Wed Nov 12 12:19:01 UTC 2025


On Wed, 12 Nov 2025 08:27:32 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Would it make sense to add `OperatingSystem.BSD` to consolidate any such predicates?

I think so, but for this case we would also need `OperatingSystem.FreeBSD`, as I am uncerain if OpenBSD has the same issue. (NetBSD seems to also use jemalloc, and should behave like FreeBSD, though.)

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

PR Comment: https://git.openjdk.org/jdk/pull/28235#issuecomment-3521645508


More information about the core-libs-dev mailing list