RFR: 8340141: C1: rework ciMethod::equals following 8338471

Dean Long dlong at openjdk.org
Tue Dec 3 17:08:53 UTC 2024


On Tue, 1 Oct 2024 16:33:45 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> @vnkozlov , I like the alternative approach better.  I went with the current approach because I was thinking it would be simpler than the bailout, but I changed my mind after writing both out.
>> 
>> Yes, we can change cha_monomorphic_target to nullptr instead of bailing out.  But my understanding is any use of old/redefined methods will cause the compilation to be thrown out when we try to create the nmethod, so we are avoiding wasted work by bailing out early.
>
> @dean-long, may be I misunderstand your statement. Are you re-writing the fix or keep current?

Thanks @vnkozlov.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21148#issuecomment-2515117055


More information about the hotspot-compiler-dev mailing list