RFR(T) : 8243617 : compiler/onSpinWait/TestOnSpinWaitC1.java test uses wrong class

Tobias Hartmann tobias.hartmann at oracle.com
Mon Apr 27 08:25:46 UTC 2020


Hi Igor,

looks good and trivial.

Best regards,
Tobias

On 26.04.20 19:15, Igor Ignatyev wrote:
> Hi all,
> 
> could you please review the trivial patch for compiler/onSpinWait/TestOnSpinWaitC1.java?
> from JBS:
>> compiler/onSpinWait/TestOnSpinWaitC1.java runs compiler.onSpinWait.TestOnSpinWait yet it should run compiler.onSpinWait.TestOnSpinWaitC1
> 
> patch:
>> diff -r 6eec7b7aa740 test/hotspot/jtreg/compiler/onSpinWait/TestOnSpinWaitC1.java
>> --- a/test/hotspot/jtreg/compiler/onSpinWait/TestOnSpinWaitC1.java	Sun Apr 26 10:12:37 2020 -0700
>> +++ b/test/hotspot/jtreg/compiler/onSpinWait/TestOnSpinWaitC1.java	Sun Apr 26 10:14:45 2020 -0700
>> @@ -30,7 +30,7 @@
>>   * @modules java.base/jdk.internal.misc
>>   * @requires os.arch=="x86" | os.arch=="amd64" | os.arch=="x86_64"
>>   * @requires vm.compiler1.enabled
>> - * @run driver compiler.onSpinWait.TestOnSpinWait
>> + * @run driver compiler.onSpinWait.TestOnSpinWaitC1
>>   */
>>  
>>  package compiler.onSpinWait;
>>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8243617
> testing: the affected test
> 
> 
> Thanks,
> -- Igor
> 


More information about the hotspot-compiler-dev mailing list