On Mon, 26 Jun 2023 21:47:08 GMT, Doug Simon <dnsi...@openjdk.org> wrote:

>  I doubt VMSupport.<clinit> would ever fail in practice.

I would think it is likely to fail with OOME under the same GC stress test 
conditions.

But if this is just a stress test issue then bailing out when the loading fails 
would be far simpler than pre-loading the class. You've added to the VM startup 
cost just to avoid a stress test failure.

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

PR Comment: https://git.openjdk.org/jdk/pull/14641#issuecomment-1608371203

Reply via email to