RFR: 8339299: C1 will miss type profile when inline final method [v4]
Leonid Mesnik
lmesnik at openjdk.org
Thu Sep 12 03:11:08 UTC 2024
On Thu, 12 Sep 2024 02:21:17 GMT, kuaiwei <duke at openjdk.org> wrote:
>> I think that additionally
>> * @requires vm.opt.TieredCompilation == null | vm.opt.TieredCompilation == true
>>
>> You could check if test fails with ' -XX:-TieredCompilation'.
>
> I tested with "-XX:-TieredCompilation" and it passed.
> my test command:
>
>> make run-test TEST="test/hotspot/jtreg/compiler/cha/TypeProfileFinalMethod.java" CONF=fastdebug JTREG="VM_OPTIONS=-X
> X:-TieredCompilation"
> ...
> ==============================
> Test summary
> ==============================
> TEST TOTAL PASS FAIL ERROR
> jtreg:test/hotspot/jtreg/compiler/cha/TypeProfileFinalMethod.java
> 1 1 0 0
> ==============================
> TEST SUCCESS
Thanks. That's fine for me.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20786#discussion_r1756033937
More information about the hotspot-compiler-dev
mailing list