Re: [drlvm][gc/threading] need the two lsb's from object header for MMTk port

2006-10-09 Thread Weldon Washburn
On 10/9/06, Salikh Zakirov <[EMAIL PROTECTED]> wrote: Weldon Washburn wrote: > Artem, > I'd like to confirm what you said. For GC_BIT_MASK, it looks like the > bottom > two bits of byte number one is available for exclusive GC use. If the GC > needs to alter these two bits while the mutator(s)

Re: [drlvm][gc/threading] need the two lsb's from object header for MMTk port

2006-10-09 Thread Salikh Zakirov
Weldon Washburn wrote: > Artem, > I'd like to confirm what you said. For GC_BIT_MASK, it looks like the > bottom > two bits of byte number one is available for exclusive GC use. If the GC > needs to alter these two bits while the mutator(s) are running, the GC > needs > to use CAS on the entire 32

Re: [drlvm][gc/threading] need the two lsb's from object header for MMTk port

2006-10-06 Thread Weldon Washburn
Artem, I'd like to confirm what you said. For GC_BIT_MASK, it looks like the bottom two bits of byte number one is available for exclusive GC use. If the GC needs to alter these two bits while the mutator(s) are running, the GC needs to use CAS on the entire 32 bits of obj_info. Does this sound

Re: [drlvm][gc/threading] need the two lsb's from object header for MMTk port

2006-10-06 Thread Artem Aliev
Weldon, All Here is the updated vm/vmcore/sync_bit.h header file. That, I think, describes current state of the object header. I olso try define rules: How to update the header correctly. Welcome to discussion on them. #ifndef _sync_bits_H #define _sync_bits_H /** * These defines describe the

[drlvm][gc/threading] need the two lsb's from object header for MMTk port

2006-10-05 Thread Weldon Washburn
From reading current svn HEAD, it looks like thread_native_thin_monitor.c reserves the bottom 10 bits of the object's lock word for object hashcode. If this is true, I'd like to take the bottom two bits for MMTk port. Please tell me what #defines I need to change to make this happen. Thanks