RFR: 8358781: C2 fails with assert "bad profile data type" when TypeProfileCasts is disabled [v2]
Manuel Hässig
mhaessig at openjdk.org
Tue Aug 12 15:34:14 UTC 2025
On Tue, 12 Aug 2025 15:24:29 GMT, Saranya Natarajan <snatarajan at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/arguments/TestProfileCasts.java line 43:
>>
>>> 41:
>>> 42: public static void main(String[] args) {
>>> 43: for (int i = 0; i < 100_000; i++) {
>>
>> Do you really need 100'000 iterations to get it to compile or can you reduce it a bit?
>
> I have reduced this to 100 after I checked that the (new) test fails without the current fix.
Excellent, thank you!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26640#discussion_r2270288589
More information about the hotspot-compiler-dev
mailing list