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

Laurent Bourgès bourges.laurent at gmail.com
Wed Feb 10 21:36:59 UTC 2016


2016-02-10 22:32 GMT+01:00 Jim Graham <james.graham at oracle.com>:

> One suggestion on ProviderTL - have a constructor overload that allows
> separate ref types for the TL and the CLQ references in case there is a
> situation where you want a hard reference for the primary context and a
> soft reference for the reentrant ones (which may be situationally rare).
> The single refType constructor would use the same refType for both cases...

It is a good idea. I am preparing a new webrev and I slightly changed my
- TL references are defined using the given ref type (hard, soft or weak)
- CLQ references are always weak to reduce the memory footprint

I think it is better to have weaker references for the CLQ as it is less

Do you still need a new constructor with 2 different ref types ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160210/e540b448/attachment.html>

More information about the 2d-dev mailing list