[OpenJDK 2D-Dev] Review request for: JDK-7179454 Xrender: FileDialogDropTargetTest.java sometimes failed on OEL 6 with jdk 8

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 24 08:43:30 UTC 2016


On 24.05.16 10:21, Alexey Ushakov wrote:
> Hi Sergey,
>
>> Did you check what sequence of calls causes a situation when we have BufImgSurfaceData as a surface and XRRenderer as a Pipe?
>
> No. The issue is really difficult to reproduce and it disappears with any logging enabled, so it might be a race condition. I was able to reproduce it artificially by resizing VMware VM number of times with high frequency. It also was reported by users on  KDE desktops.

ok, Looks fine.

>> On 23 May 2016, at 20:11, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
>>
>> Hi, Alexey.
>> Did you check what sequence of calls causes a situation when we have BufImgSurfaceData as a surface and XRRenderer as a Pipe? I thought we always change them at once(actually the pipe usually updated from the surface.validatePipe(SG2D))?
>>
>> On 23.05.16 17:44, Alexey Ushakov wrote:
>>> Hello Phil,
>>>
>>> Here is a small fix of quite annoying exception that we sometimes have
>>> in IDEA product. The bug is assigned to you so, please have a look.
>>>
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-7179454
>>> Webrev: http://cr.openjdk.java.net/~avu/JDK-7179454/webrev.00
>>>
>>> Sometimes rendering is performed into surface of wrong type, so we need
>>> to recreate it by throwing InvalidPipeException. The exception is caught
>>> at upper level and the surface of appropriate type is created. Similar
>>> approach is used in OpenGL and D3D pipeline.
>>>
>>> Best Regards,
>>> Alexey
>>
>>
>> --
>> Best regards, Sergey.
>


-- 
Best regards, Sergey.



More information about the 2d-dev mailing list