On Tue, 9 Jun 2026 13:55:49 GMT, Jorn Vernee <[email protected]> wrote:

>> Per Minborg has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Remove class
>
> src/java.base/share/classes/java/lang/Thread.java line 469:
> 
>> 467:             case 0: break;
>> 468:             default: throw new AssertionError(size);
>> 469:         }
> 
> This doesn't look right. This would at most zero 8 bytes of memory (just at 
> different offsets). Is there a loop missing here?

This switch has fallthrough, and the memory is limited to 64 bytes, or 8 longs.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31365#discussion_r3431498624

Reply via email to