On Fri, 3 Jul 2026 14:50:46 GMT, Viktor Klang <[email protected]> wrote:
>> Doug Lea has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> manual padding
>
> src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 1201:
>
>> 1199: static final class WorkQueue {
>> 1200: // fields declared in order of their likely layout on most VMs
>> 1201: Boolean r0, r1, r2, r3, r4, r5, r6, r7; // manual ref padding
>
> @DougLea Doesn't this presume constant reference size? (compressed oops could
> be on or off)
Might be more flexible to introduce a superclass with the initial padding?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28797#discussion_r3520615963