OSDN Git Service

Modifies OpenSSLSocketImpl to use a different lock for the instance count. It was...
authorcrazybob <crazybob@google.com>
Wed, 1 Jul 2009 20:30:58 +0000 (15:30 -0500)
committercrazybob <crazybob@google.com>
Wed, 1 Jul 2009 21:30:13 +0000 (16:30 -0500)
commitf681a0fc7db58aeead2d6970a717d8a466c1b516
tree5a74045faf84afbb1ba2f4b35e03bd1df875e09a
parent3e371e2ebbeeefe176ba1357e6ff241bd13a711e
Modifies OpenSSLSocketImpl to use a different lock for the instance count. It was using the same lock when use around native methods meaning that the finalizer could be blocked unnecessarily
resulting in a VM crash.
libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java