From 1c89427a4326583754f15283802687a62ad3aa92 Mon Sep 17 00:00:00 2001 From: yeom Date: Sat, 16 Apr 2011 00:14:36 +0000 Subject: [PATCH] fixes for oooJava gc --- Robust/src/Runtime/garbage.c | 7 ------- Robust/src/Runtime/oojgarbage.c | 11 ++++++++++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Robust/src/Runtime/garbage.c b/Robust/src/Runtime/garbage.c index b8d0a0ae..7312a6fc 100644 --- a/Robust/src/Runtime/garbage.c +++ b/Robust/src/Runtime/garbage.c @@ -10,14 +10,7 @@ #include "thread.h" #endif #ifdef MLP -#ifdef SQUEUE -#include "squeue.h" -#else -#include "deque.h" -#endif #include "workschedule.h" -extern volatile int numWorkSchedWorkers; -extern deque* deques; #endif #ifdef DMALLOC diff --git a/Robust/src/Runtime/oojgarbage.c b/Robust/src/Runtime/oojgarbage.c index 8a14558f..c4a531f3 100644 --- a/Robust/src/Runtime/oojgarbage.c +++ b/Robust/src/Runtime/oojgarbage.c @@ -1,6 +1,15 @@ +#ifdef MLP #include "garbage.h" +#ifdef SQUEUE +#include "squeue.h" +#else +#include "deque.h" +#endif +#include "mlp_runtime.h" +#include "workschedule.h" +extern volatile int numWorkSchedWorkers; +extern deque* deques; -#ifdef MLP __thread SESEcommon* seseCommon; void searchoojroots() { -- 2.34.1