RFR: 8297933: [REDO] Compiler should only use verified interface types for optimization [v2]

Roland Westrelin roland at openjdk.org
Wed Dec 14 13:50:48 UTC 2022


On Wed, 14 Dec 2022 12:43:01 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Roland Westrelin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test fix
>
> test/hotspot/jtreg/compiler/types/TestCheckCastPPBecomesTOP.java line 31:
> 
>> 29:  * @run main/othervm -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation
>> 30:  *                   -XX:CompileOnly=TestCheckCastPPBecomesTOP::test1 -XX:LoopMaxUnroll=0
>> 31:  *                   -XX:CompileCommand=dontinline,TestCheckCastPPBecomesTOP::notInlined -XX:+UseParallelGC TestCheckCastPPBecomesTOP
> 
> This test fails when executed with a different GC (you need to remove the explicit setting or add an `@requires`):
> 
> Error occurred during initialization of VM
> Multiple garbage collectors selected
> 
> 
> (I did some more testing on top of what I already did last week - that's why it didn't show up earlier)

I added a `@requires`

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

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


More information about the hotspot-compiler-dev mailing list