[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


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.


Best regards,
Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list