Re: [PATCH 4/6] vm: make static field fixup thread safe

2009-08-01 Thread Pekka Enberg
On Thu, 2009-07-30 at 12:50 +0200, Tomek Grabiec wrote: > diff --git a/include/vm/class.h b/include/vm/class.h > index 2ed5ffe..b827afc 100644 > --- a/include/vm/class.h > +++ b/include/vm/class.h > @@ -2,6 +2,7 @@ > #define _VM_CLASS_H > > #include > +#include > > #include "vm/field.h" >

[PATCH 4/6] vm: make static field fixup thread safe

2009-07-30 Thread Tomek Grabiec
Note: static field access fixup as well as trampoline backpatching is steel not MP safe after this patch. This is something yet to be done. Apart from that there was a race condition on access to fixup site lists causing the following segfault to occurre: [thread: main] SIGSEGV at EIP 080550bd wh