SSLSocketImpl and Handshake Notifier efficiency/thread pooling

Bernd Eckenfels bernd-2013 at eckenfels.net
Thu Feb 7 23:26:56 UTC 2013


Hello,

I have now submitted my OCA, how can we proceed here?

Am 17.01.2013, 02:19 Uhr, schrieb Bernd Eckenfels  
<bernd-2013 at eckenfels.net>:
> Am 16.01.2013, 05:04 Uhr, schrieb Xuelei Fan <xuelei.fan at oracle.com>:
>
>> I agree with you that create new threads in SSLSocket implementation is
>> not good.  The application is the better place to decide what's the
>> right thread model.
>
>>  For the same reason, using Executor in SSLSocket
>> implementation might not be an option from my understanding.
>
>
> A small change without Executor would be to have a boolean setter which  
> deactivates the Thread dispatching. The default will use new Threads, if  
> direct mode is enabled it will directly call the listeners in the data  
> thread:
...

Greetings
  Bernd
-- 
http://bernd.eckenfels.net



More information about the security-dev mailing list