On Mon, 17 Jun 2024 14:51:07 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> Make sure `pd` is always the same object when `getProtectionDomain0` is null. Looks great! I just wonder about how we usually write tests for such races, as these races may be platform-dependent and the test might not be able to always reproduce the race (such as with number of threads). ------------- PR Comment: https://git.openjdk.org/jdk/pull/19752#issuecomment-2173658541