RFR(M): 8156923: [ppc] Implement "JEP 270: Reserved Stack Areas for Critical Sections".

Volker Simonis volker.simonis at gmail.com
Tue May 31 15:31:51 UTC 2016


Hi Goetz,

change looks good, but when I run the regression tests (
test/runtime/ReservedStack/ReservedStackTest*.java) I get errors on
both ppc64 and ppc64le:

----------System.out:(4/234)----------
CompileCommand: exclude
java/util/concurrent/locks/AbstractOwnableSynchronizer.setExclusiveOwnerThread
Framework got StackOverflowError at frame = 2376
Test started execution at frame = 2120
FAILED: ReentrantLock 1019 looks corrupted
----------System.err:(4/293)----------
java.lang.Error: FAILED: ReentrantLock 1019 looks corrupted
        at ReservedStackTest$RunWithSOEContext.run(ReservedStackTest.java:208)
        at java.lang.Thread.run(java.base at 9-internal/Thread.java:843)
STATUS:Failed.`main' threw exception: java.lang.Error: FAILED:
ReentrantLock 1019 looks corrupted

Can you please have a look at the problem?

Regards,
Volker


On Tue, May 31, 2016 at 1:32 AM, David Holmes <david.holmes at oracle.com> wrote:
> Hi Goetz,
>
> On 30/05/2016 7:03 PM, Lindenmaier, Goetz wrote:
>>
>> Hi David,
>>
>> I split the test, and restricted the new one to server VMs.
>> http://cr.openjdk.java.net/~goetz/wr16/8156923-resStack/webrev.02/
>
>
> Seems okay. (I'm assuming the empty file never actually gets compiled.)
>
> Thanks,
> David
>
>
>> Best regards,
>>   Goetz.
>>
>>
>>> -----Original Message-----
>>> From: David Holmes [mailto:david.holmes at oracle.com]
>>> Sent: Donnerstag, 26. Mai 2016 00:42
>>> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; hotspot-runtime-
>>> dev at openjdk.java.net
>>> Subject: Re: RFR(M): 8156923: [ppc] Implement "JEP 270: Reserved Stack
>>> Areas for Critical Sections".
>>>
>>> On 25/05/2016 6:08 PM, Lindenmaier, Goetz wrote:
>>>>
>>>> Hi,
>>>>
>>>> Could someone please have a look at this change?
>>>
>>>
>>> I can't comment on the actual ppc changes sorry.
>>>
>>> The test changes don't look like they will work if used on the client
>>> and/or minimal VM without tiered-compilation support.
>>>
>>> David
>>>
>>>> Thanks,
>>>>   Goetz.
>>>>
>>>>> -----Original Message-----
>>>>> From: Lindenmaier, Goetz
>>>>> Sent: Mittwoch, 18. Mai 2016 11:39
>>>>> To: hotspot-runtime-dev at openjdk.java.net
>>>>> Subject: RFR(M): 8156923: [ppc] Implement "JEP 270: Reserved Stack
>>>
>>> Areas
>>>>>
>>>>> for Critical Sections".
>>>>>
>>>>> Hi,
>>>>>
>>>>> This change ports JEP 270 to ppc.
>>>>>
>>>>> It adapts the corresponding test to run also on ppc. Further I enabled
>>>>> test
>>>>> cases
>>>>> for the interpreter and dedicated C1/C2, which helped me to find some
>>>
>>> initial
>>>>>
>>>>> problems.
>>>>> The change does not affect the behavior of any other platform.
>>>>>
>>>>> Please review this change. I please need a sponsor.
>>>>> http://cr.openjdk.java.net/~goetz/wr16/8156923-resStack/webrev.01/
>>>>>
>>>>> Best regards,
>>>>>   Goetz.
>>>>
>>>>
>


More information about the hotspot-runtime-dev mailing list