On 01/11/17 19:32, Gary Gregory wrote:
> Hi All,
> 
> Pool implements its own LinkedBlockingDeque which is almost like Java
> 7's LinkedBlockingDeque.
> 
> The JRE LinkedBlockingDeque is not a drop in replacement for
> our LinkedBlockingDeque.
> 
> Any thoughts on migrating from our custom LinkedBlockingDeque to the JRE's
> version?

I don't believe that is possible.

The implementations should be almost identical since they derive from
the same source. The key difference is that the Pool version exposes
some internals that the JDK version does not. Unless the JDK provided
implementation has changed (and I don't think it has) replacement with
the JDK version won't be possible unless we start using reflection to
expose the necessary JDK internals - and that approach has its own set
of risks.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to