Hello,

I want to find out object connectivity when GC is running. My approach is to create a separate pthread (in sys.C) when GC is triggered and assign it to access object information on-the-fly. However, tracing object information in native C code seems not easy. Specifically, I need to call several RVM functions (including getslot(), getMemoryAddress(), getObjectType(), etc). Is there any way to call such Java methods inside sys.C? If no, is there any other solution to trace object layout  from a C function in RVM? Your help is appreciated.

Best Regards,

-Wei