[9] RFR (S): 8140001: _allocateInstance intrinsic does not throw InstantiationException for abstract classes and interfaces

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Jan 12 15:22:38 UTC 2016


http://cr.openjdk.java.net/~vlivanov/8140001/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8140001

EA can eliminate allocations of abstract classes or interfaces, thus 
changing observable behavior of a program as the test case demonstrates.

The fix is to always mark such allocations as escaping.

Testing: failing test, JPRT.

Thanks!

Best regards,
Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list