Re: [Ironruby-core] ObjectSpace module

2011-09-01 Thread Iulian Fecioru
Hello, Sorry for the late reply. Implementing directly in the libraries will involve adding some logic somewhere in something like RubyInstanceData (where ObjectID is implemented, I didn't investigate in detail yet). We use this feature: object - object_id - object. Thank you! PS:

[Ironruby-core] Deadlock in IronRuby

2011-09-01 Thread Orion Edwards
I'm encountering what looks like a fairly textbook deadlock in the core IronRuby code when creating Classes: Thread 0: - calls RubyContext.GetOrCreateClass(Type) - acquires RubyContext.ModuleCacheLock - function body invokes RubyContext.GetOrCreateClassNoLock(Type) - The class does not