RFR: 8289943: Simplify some object allocation merges [v8]
Vladimir Kozlov
kvn at openjdk.org
Tue Sep 20 20:43:45 UTC 2022
On Tue, 20 Sep 2022 20:14:08 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Cesar Soares has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove debug messages.
>
> src/hotspot/share/opto/escape.cpp line 683:
>
>> 681: }
>> 682:
>> 683: if (mixed_klasses && has_call_as_user) {
>
> Add comment that only the same Klass is allowed if merged allocations are referenced by SafePoint or Uncommon
> trap.
You also need to bail out `has_nonnull_nonsr_input` case here. You can have not Allocation in such case (for example, argument) which you can't reallocate during deoptimization and you don't know its actual Klass.
-------------
PR: https://git.openjdk.org/jdk/pull/9073
More information about the hotspot-compiler-dev
mailing list