>>>>> "Jiang" == Jiang Wu <[EMAIL PROTECTED]> writes:

    Jiang> I ran your test on my version of the fix.  I don't see any
    Jiang> crash.  One difference in my code is that I didn't remove
    Jiang> any of the reference counting code that was in the C part
    Jiang> of TclBlend.  I.e. when a Tcl_Obj is created to wrap a
    Jiang> TclObject, it adds a ref count.  Theoretically, this is not
    Jiang> needed since it already adds a Java global reference.  I
    Jiang> left those code alone because I have not had the time to
    Jiang> think through the impact on removing these.

I've been trying to think about the ref-counting problem, but I find
that I get confused about the role of various objects in tclblend.
Could someone summarize the roles and relationships for TclObjects,
CObjects, ReflectObjects and Tcl_Obj's and if you think there is
anything else that is relevant to thinking about reference counting, I
would be glad to hear about that also.

-Dan

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to