[OpenJDK 2D-Dev] RFR 8148886: SEGV in sun.java2d.marlin.Renderer._endRendering

Laurent Bourgès bourges.laurent at gmail.com
Thu Feb 4 22:21:19 UTC 2016

Please review the webrev fixing SEGFAULT (P2) in the Marlin Renderer when
using thread-local storage with custom Paint (reentrance):
bug: https://bugs.openjdk.java.net/browse/JDK-8148886
webrev: http://cr.openjdk.java.net/~lbourges/marlin/marlin-8148886.0/

- detect reentrance in MarlinRenderingEngine using flag
RendererContext.usedTL (true/false) and use another context from CLQ
- added few more details in array checks (XXXArrayCache)
- fixed AAShapePipe to support reentrancy: added defensive copy of int[]
abox in local variables + TODO to discuss
- updated Version to
- fixed copyright headers

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160204/0b87d569/attachment.html>

More information about the 2d-dev mailing list