re PR libgcj/16478 (Hash synchronization deadlock with finalizers)
authorBryce McKinlay <bryce@gcc.gnu.org>
Sun, 11 Jul 2004 21:31:49 +0000 (22:31 +0100)
committerBryce McKinlay <bryce@gcc.gnu.org>
Sun, 11 Jul 2004 21:31:49 +0000 (22:31 +0100)
commitabd1b60de7c2ce3fc9a2d8b56c28df7639e3735a
treed1ac627574e6f9d8e78c4fed96686f9b77c6f7f4
parent31a7b755582a7c046b8bd548eb9e38f8a0b3cee0
re PR libgcj/16478 (Hash synchronization deadlock with finalizers)

2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>

PR libgcj/16478
* prims.cc (_Jv_CreateJavaVM): Fix comment.
* gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
(finalizerReady): Now native.
(run): Likewise.
(runFinalizers): Removed.
* gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
a primitive lock, and don't hold it while running the finalizers.
(runFinalizers): Implement. Don't aquire any Java lock.
(finalizerReady): Use lock primitives to signal finalizer thread.

From-SVN: r84534
libjava/ChangeLog