diff options
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r-- | libjava/boehm.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc index 7066e286b49..716362aef49 100644 --- a/libjava/boehm.cc +++ b/libjava/boehm.cc @@ -468,6 +468,12 @@ void _Jv_InitGC (void) { int proc; + static bool gc_initialized; + + if (gc_initialized) + return; + + gc_initialized = 1; // Ignore pointers that do not point to the start of an object. GC_all_interior_pointers = 0; |