RFR: 8358781: C2 fails with assert "bad profile data type" when TypeProfileCasts is disabled [v2]
Saranya Natarajan
snatarajan at openjdk.org
Tue Aug 12 15:28:00 UTC 2025
On Tue, 12 Aug 2025 09:33:21 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:
>> Saranya Natarajan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> adding test
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26640#discussion_r2270265360
More information about the hotspot-compiler-dev
mailing list