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

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Nov 20 20:09:12 UTC 2018


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