Jim

2016-02-10 22:32 GMT+01:00 Jim Graham <james.gra...@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
mind:
- 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
important.

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

Laurent

Reply via email to