}
}
- if(fm.getMethod().isStaticBlock()) {
+ if(fm.getMethod()!=null&&fm.getMethod().isStaticBlock()) {
// a static block, check if it has been executed
output.println(" if(global_defsprim_p->" + cn.getSafeSymbol()+"static_block_exe_flag != 0) {");
output.println(" return;");
#endif
}
-
-
-
void searchstack(struct garbagelist *stackptr) {
while(stackptr!=NULL) {
int i;
}
#endif
-
#if defined(THREADS)||defined(DSTM)||defined(STM)||defined(MLP)
void searchthreadroots(struct garbagelist * stackptr) {
/* Check current stack */
}
#endif
-
void searchroots(struct garbagelist * stackptr) {
#if defined(THREADS)||defined(DSTM)||defined(STM)||defined(MLP)
searchthreadroots(stackptr);
#else
searchstack(stackptr);
#endif
-
#ifdef FASTCHECK
ENQUEUE(___fcrevert___, ___fcrevert___);
#endif
#endif
}
-
void collect(struct garbagelist * stackptr) {
doinitstuff();
#endif
}
-
void * tomalloc(int size) {
void * ptr=to_heapptr;
if ((size&7)!=0)