[12] RFR(S): 8214025: assert(t->singleton()) failed: must be a constant when ScavengeRootsInCode < 2

Tobias Hartmann tobias.hartmann at oracle.com
Wed Nov 21 05:35:14 UTC 2018


Thanks Vladimir.

Best regards,
Tobias

On 20.11.18 21:09, Vladimir Kozlov wrote:
> Good.
> 
> Thanks,
> Vladimir
> 
> On 11/18/18 11:19 PM, Tobias Hartmann wrote:
>> Hi,
>>
>> please review the following patch:
>> https://bugs.openjdk.java.net/browse/JDK-8214025
>> http://cr.openjdk.java.net/~thartmann/8214025/webrev.00/
>>
>> In Parse::do_call(), we try to create a constant for 'appendix_arg' but
>> TypeOopPtr::make_from_constant() does not return a singleton because with ScavengeRootsInCode <= 1,
>> ciObject::should_be_constant() is false. We need to pass require_const = true because this code
>> relies on a constant to be produced.
>>
>> Thanks,
>> Tobias
>>


More information about the hotspot-compiler-dev mailing list