A test provided by [~fparain] times out with C2 (only with product builds). The problem is an endless loop when reresolving a static call to isSubstitutable0 from C2 compiled code. The problem is that the ValueBootstrapMethods klass might not be initialized yet. We need to do that in the runtime. We actually did that before my fix for
JDK-8234108 but I accidentally put that code into #ifdef ASSERT which also explains why this bug only reproduces with a product build.