Integrated: JDK-8295406: C1 crash with -XX:TypeProfileArgsLimit=0 -XX:TypeProfileLevel=222

Damon Fenacci duke at openjdk.org
Mon Jan 9 08:02:03 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.

This pull request has now been integrated.

Changeset: 9b1ade8e
Author:    Damon Fenacci <damon.fenacci at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9b1ade8e2b324b3875bf97c70d8591c577568c32
Stats:     46 lines in 2 files changed: 44 ins; 0 del; 2 mod

8295406: C1 crash with -XX:TypeProfileArgsLimit=0 -XX:TypeProfileLevel=222

Reviewed-by: thartmann, kvn

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

PR: https://git.openjdk.org/jdk/pull/11843


More information about the hotspot-dev mailing list