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)
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

index 49773da0b584ea360a1e02424eeac5ddf99b2955..34f5a85fa751d716ee8582da1fafadc04d83dae4 100644 (file)
@@ -1,6 +1,6 @@
 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
 
-       PR libgcj/1674
+       PR libgcj/1647
        * prims.cc (_Jv_CreateJavaVM): Fix comment.
        * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
        (finalizerReady): Now native.