From: Bryce McKinlay Date: Sun, 11 Jul 2004 21:31:49 +0000 (+0100) Subject: re PR libgcj/16478 (Hash synchronization deadlock with finalizers) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abd1b60de7c2ce3fc9a2d8b56c28df7639e3735a;p=gcc.git re PR libgcj/16478 (Hash synchronization deadlock with finalizers) 2004-07-11 Bryce McKinlay 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 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 49773da0b58..34f5a85fa75 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,6 +1,6 @@ 2004-07-11 Bryce McKinlay - PR libgcj/16748 + PR libgcj/16478 * prims.cc (_Jv_CreateJavaVM): Fix comment. * gnu/gcj/runtime/FinalizerThread.java (init): New. Native. (finalizerReady): Now native.