RFR (S) 8150534: C1 compilation fails with "Constant field loads are folded during parsing"
aleksey.shipilev at oracle.com
Wed Feb 24 18:37:49 UTC 2016
On 02/24/2016 09:17 PM, Vladimir Ivanov wrote:
> The failures are caused by ScavengeRootsInCode < 2. In such case,
> compilers don't constant fold object-producing loads, because they can
> lead to embedded oops. But it's fine to constant fold an array length,
> since it produces an int.
Oh, that explains it, thanks!
> I suggest the following adjustments :
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the hotspot-compiler-dev