[EXTERNAL]RFC: Partial Escape Analysis in HotSpot C2
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Oct 12 18:17:37 UTC 2022
On 10/12/22 7:58 AM, Liu, Xin wrote:
> hi, Vladimir,
>> You should show that your implementation can rematirealize an object
> at any escape site.
>
> My understanding is I suppose to 'materialize' an object at any escape site.
Words ;^)
Yes, I mistyped and misspelled.
Vladimir K
>
> 'rematerialize' refers to 'create an scalar-replaced object on heap' in
> deoptimization. It's for interpreter as if the object was created in the
> first place. It doesn't apply to an escaped object because it's marked
> 'GlobalEscaped' in C2 EA.
>
>
> Okay. I will try this idea!
>
> thanks,
> --lx
>
>
>
>
> On 10/11/22 3:12 PM, Vladimir Kozlov wrote:
>> Also in your test there should be no merge at safepoint2 because `obj` is "not alive" (not referenced) anymore.
More information about the hotspot-compiler-dev
mailing list