I don't think anything has been done about it. Only two things I can think of to fix the prob: 1) Make sun.misc.Unsafe.getObject() do the dso magic when used on shared instances.
2) Use TCObject.resolveAllReferences() while holding the resolve lock such that the Unsafe only reads resolved field values. You'll want to hold the resolve lock for the duration of both the resolveAllRefs and the unsafe calls. #1 seems slightly preferable since it will fix any other use of that method on shared instances, but it might be hard since it is a native call, and it is unclear if adding overhead there will make the world unhappy -tim > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:tc-dev- > [EMAIL PROTECTED] On Behalf Of Geert Bevin > Sent: Thursday, June 21, 2007 12:20 AM > To: [email protected] > Subject: [tc-dev] CDV-244 : Serialization of shared objects fails to > resolvereference fields > > Hi guys, > > I started looking at this. Any tips or leads? Has someone already > given this issue some love? > > Thanks for the help, > > Geert > > -- > Geert Bevin > Terracotta - http://www.terracotta.org > Uwyn "Use what you need" - http://uwyn.com > RIFE Java application framework - http://rifers.org > Music and words - http://gbevin.com > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
