RFR: 8265711: C1: Intrinsify Class.getModifier method [v4]

Yi Yang yyang at openjdk.java.net
Tue May 18 02:27:21 UTC 2021


On Mon, 17 May 2021 19:25:58 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Yi Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   caonicalize in interpreter/c1/c2 modes
>
> test/hotspot/jtreg/compiler/c1/CanonicalizeGetModifiers.java line 52:
> 
>> 50:  * @requires vm.compiler2.enabled
>> 51:  * @library /test/lib
>> 52:  * @run main/othervm -XX:TieredStopAtLevel=4 -XX:-TieredCompilation
> 
> `-XX:TieredStopAtLevel=4` does not work when Tiered is off. You don't need this flag.

Okay, I learned this from [Valhalla project](https://github.com/openjdk/valhalla/blob/c8d7c8260921ccb2b2e72dcc6cc04144ff7649fc/test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestC1.java#L61). Maybe it's redundant if -XX:-TieredCompilation is disabled.

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

PR: https://git.openjdk.java.net/jdk/pull/3616


More information about the hotspot-compiler-dev mailing list