RFR: 8320220: Compilation of cyclic hierarchy causes infinite recursion
Archie Cobbs
acobbs at openjdk.org
Mon Feb 24 16:56:55 UTC 2025
On Mon, 24 Feb 2025 15:23:22 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> this method will invoke Class::isInstance again, probably better to just do `(c -> (ClassSymbol)c)`?
I was under the impression that with Hotspot, there was no performance difference between `ClassSymbol.class::cast` and `c -> (ClassSymbol)c`. Is that not correct?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23704#discussion_r1968047747
More information about the compiler-dev
mailing list