On Fri, 24 Mar 2023 19:09:57 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

>> It is for yielding. Do you think we need this with a bigger frequency?
>
> I guess the question then is why the need to yield. It just seems a bit odd 
> that I thought the main point of this loop was to keep busy calling 
> `breakpointCheck()`, and I don't see how doing a yield 1 out of every 
> 1,000,000 iterations relates to that.

Thank you for pointing to the `breakpointCheck()` as it is not needed at all, 
so I've removed it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13133#discussion_r1149962945

Reply via email to