RFR: JDK-8295406: C1 crash with -XX:TypeProfileArgsLimit=0 -XX:TypeProfileLevel=222
Vladimir Kozlov
kvn at openjdk.org
Fri Jan 6 18:09:05 UTC 2023
On Wed, 4 Jan 2023 13:41:36 GMT, Damon Fenacci <duke at openjdk.org> wrote:
> `-XX:TypeProfileArgsLimit=0 -XX:TypeProfileLevel=222` cause an assert to fail in `LIRGenerator::profile_arguments`.
>
> `LIRGenerator::profile_arguments` actually checks if arguments need to be profiled but the `MethodData::profile_arguments` method doesn't take `TypeProfileArgsLimit=0` into account.
>
> Adding a check for _TypeProfileArgsLimit>0_ to determine if arguments have to be profiled.
Looks good.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11843
More information about the hotspot-dev
mailing list