RFR: 8170464: Remove shell script from compiler/c2/cr7005594/Test7005594.java
Boris Molodenkov
boris.molodenkov at oracle.com
Fri Dec 9 08:00:57 UTC 2016
Thank you for review.
Boris
On 08.12.2016 21:13, Vladimir Kozlov wrote:
> Than it is good. Thank you for testing.
>
> Vladimir
>
> On 12/8/16 2:30 AM, Boris Molodenkov wrote:
>> Vladimir,
>>
>> I checked that changed test reproduces 7005594 problem in JDK7 b120.
>> Issue is not reproduced with suggested workaround -XX:LoopOptsCount=0.
>>
>> $ jdk1.7.0/bin/java -showversion -Xcomp
>> -XX:CompileOnly=compiler.c2.cr7005594.Test7005594::test
>> compiler.c2.cr7005594.Test7005594
>> java version "1.7.0-ea"
>> Java(TM) SE Runtime Environment (build 1.7.0-ea-b120)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b03, compiled mode)
>>
>> Exception in thread "main" java.lang.AssertionError: Expected
>> ArrayIndexOutOfBoundsException was not thrown
>> at compiler.c2.cr7005594.Test7005594.main(Test7005594.java:48)
>>
>> $ jdk1.7.0/bin/java -showversion -Xcomp -XX:LoopOptsCount=0
>> -XX:CompileOnly=compiler.c2.cr7005594.Test7005594::test
>> compiler.c2.cr7005594.Test7005594
>> java version "1.7.0-ea"
>> Java(TM) SE Runtime Environment (build 1.7.0-ea-b120)
>> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b03, compiled mode)
>>
>> Expected java.lang.ArrayIndexOutOfBoundsException: -2147483648 was
>> thrown
>>
>> Thanks,
>> Boris
>>
>> On 12/05/2016 08:09 PM, Vladimir Kozlov wrote:
>>> You changed test behavior. The loop should execute 3 iterations to hit
>>> the problem (to execute main-loop after iterations split loop
>>> optimization). Please, verify that 7005594 problem is reproduced with
>>> old JVM.
>>>
>>> Vladimir
>>>
>>> On 12/5/16 5:06 AM, Boris Molodenkov wrote:
>>>> Hi All,
>>>>
>>>> Could you please review shell script removal from compiler test.
>>>>
>>>> Test used shell script to check available memory size and message
>>>> "Could not reserve enough space" in output.
>>>> Test was slightly changed. Now it allocates array of 2 bytes instead
>>>> of 1GB as in original.
>>>> Tested locally that issue is reproduced with JDK7 b120.
>>>>
>>>> JBS: https://bugs.openjdk.java.net/browse/JDK-8170464
>>>> Webrev: http://cr.openjdk.java.net/~bmoloden/8170464/webrev.00/
>>>>
>>>> Thanks,
>>>> Boris
>>>>
>>
More information about the hotspot-compiler-dev
mailing list