RFR(XS): 8071821: Assert failed in UnexpectedDeoptimizationTest.java
Roland Westrelin
roland.westrelin at oracle.com
Fri Feb 6 13:19:29 UTC 2015
http://cr.openjdk.java.net/~roland/8071821/webrev.00/
Some ciInstanceKlass objects are shared between compiler threads so has_injected_fields() can be called on the same ciInstanceKlass concurrently by multiple threads and cause a concurrent initialization of the _has_injected_fields. In itself it’s armless (all threads will get the same result, the _has_inkected_fields will be set correctly) but it causes an assert to fire. The assert is pretty useless so I removed it.
Roland.
More information about the hotspot-compiler-dev
mailing list