RFR: 8372634: C2: Materialize type information from instanceof checks [v5]

Vladimir Ivanov vlivanov at openjdk.org
Wed Dec 10 22:22:45 UTC 2025


On Tue, 9 Dec 2025 10:04:02 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Revert Compile::should_delay_inlining unification
>
> test/hotspot/jtreg/compiler/inlining/TestSubtypeCheckTypeInfo.java line 363:
> 
>> 361:     // Sample:
>> 362:     //    213   42    b        compiler.inlining.TestSubtypeCheckTypeInfo::testIsInstanceCondLatePost (13 bytes)
>> 363:     static final Pattern TEST_CASE = Pattern.compile("^\\d+\\s+\\d+\\s+b\\s+" + TEST_CLASS_NAME + "::(\\w+) .*");
> 
> Drive by comment, no need to change things here now:
> @iwanowww @chhagedorn Would it not be nice if we could do this kind of matching with the `TestFramework`? Instead of `IR` matching, just match the output of any compilation tracing / printing.

Indeed, that would be a much better way.

Also, `-XX:+LogCompilation` is a nice option since publishes all information in a structured way, but it would introduce a dependency on LogCompilation tool in the test library.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28517#discussion_r2608413144


More information about the hotspot-compiler-dev mailing list