classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inappropriate use of synchronized in PlainSocketImpl: Submit for Cl


From: Brian Jones
Subject: Re: Inappropriate use of synchronized in PlainSocketImpl: Submit for Classpath
Date: 05 Jul 2001 17:31:01 -0400
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

"Wu, Gansha" <address@hidden> writes:

>     We have modified GNU Classpath so that ORP with Classpath can
>     run Volano. Here is the first of the patches needed for that.
>     We found that Classpath's implementation of PlainSocketImpl(in
>     java/net/PlainsocketImpl.java) overused synchronized keyword
>     before almost all the native methods such as read, write,
>     etc.. Generally speaking native socket implementation(e.g.,
>     Winsock) takes the responsibility for thread-safety, and if we
>     raise the responsibility up to Java language level, there'll be
>     problems here in multi-threaded senarios.

I submitted the two line change today, thanks.

Brian
-- 
Brian Jones <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]