re PR libgcj/27170 (Deadlock in garbage collector)

PR libgcj/27170
        * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
        dlopen(). From Anthony Green.

From-SVN: r113123
This commit is contained in:
Bryce McKinlay 2006-04-20 23:47:56 +00:00 committed by Bryce McKinlay
parent a46cec70c7
commit 405827c59d
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/27170
* gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
dlopen(). From Anthony Green.
2006-04-20 Tom Tromey <tromey@redhat.com>
PR libgcj/21941:

View File

@ -10,6 +10,11 @@ details. */
#include <config.h>
// If we're using the Boehm GC, then we need this include to override dlopen.
#ifdef HAVE_BOEHM_GC
#include <gc.h>
#endif /* HAVE_BOEHM_GC */
#include <gcj/cni.h>
#include <jvm.h>
#include <execution.h>