[13] RFR(S): 8220341: Class redefinition fails with assert(!is_unloaded()) failed: unloaded method on the stack

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Mar 8 18:11:58 UTC 2019


+1

Thanks,
Vladimir

On 3/8/19 6:25 AM, Nils Eliasson wrote:
> Hi Tobias,
> 
> Looks good!
> 
> Regards,
> Nils
> 
> 
> On 2019-03-08 14:34, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>> https://bugs.openjdk.java.net/browse/JDK-8220341
>> http://cr.openjdk.java.net/~thartmann/8220341/webrev.00/
>>
>> The assert added by 8163511 [1] is wrong and should be replaced by a check because class
>> redefinition can encounter unloaded methods in the compile queue during marking (they will be
>> removed from the queue later).
>>
>> Verified fix with failing tests at hs-tier6. Will run more tests.
>>
>> Thanks,
>> Tobias
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-8163511


More information about the hotspot-compiler-dev mailing list