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:
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