RFR(XS): 8071821: Assert failed in UnexpectedDeoptimizationTest.java

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Feb 6 17:15:13 UTC 2015


Is it one direction change of the field? Should we change the assert to check then?

Thanks,
Vladimir

On 2/6/15 5:19 AM, Roland Westrelin wrote:
> 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