On Fri, 10 Jul 2026 15:25:12 GMT, John Hendrikx <[email protected]> wrote:
>> the growing and shrinking is fine, but 3, 7, 13 might be suboptimal since >> everything revolves around powers of 2. > > What exactly revolves around powers of 2? The only thing that comes into > play is alignment, which is usually 8 bytes. some heap implementations try to coalesce unused blocks, so they use power-of-two sized allocation units. but in our case, we have no idea what the JDK actually does, or whether it might change in the future, so it's ok to leave as is. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1081#discussion_r3560169681
