RFR: 8297286: runtime/vthread tests crashing after JDK-8296324 [v5]
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Mar 28 02:37:31 UTC 2023
On Fri, 24 Mar 2023 19:09:57 GMT, Chris Plummer <cjplummer at 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
More information about the serviceability-dev
mailing list