On Jun 29, 2016, at 2:54 PM, Kim Barrett <kim.barrett@oracle.com> wrote:
I think the problem may have existed long before modules, but simply wasn't noticed. That is, I suspect trying the test case mentioned below with a pre-June-2014 fastdebug build (when Reference started initializing InterruptedException) might trip the same assert. I'm presently trying to obtain a sufficiently old fastdebug build to run the experiment.
Nope, works fine with JDK 9 b01. ./jdk1.9.0/fastdebug/bin/java -XX:AutoBoxCacheMax=2147483647 -version Error occurred during initialization of VM java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.lang.Integer$IntegerCache.<clinit>(Integer.java:799) at java.lang.Integer.valueOf(Integer.java:827) at sun.misc.Signal.handle(Signal.java:169) at java.lang.Terminator.setup(Terminator.java:60) at java.lang.System.initializeSystemClass(System.java:1197)