|
Re: [ Joseph Shraibman ] how do I debug dgc?: msg#00018java.sun.rmi
> >That doesn't help me. I have no threads of my own running, so only rmi > >is keeping the jvm alive. > > The thread dump will show you which threads are running. That is my point. > If you've already done this, and know that it is only the RMI thread, then, > you need to also check that you have unexported the object. Well, explicit unexporting is an alternative to letting a remote object be unexported by (D)GC, not a prerequisite for it. > If you unexport > with false, then all remote references must also be dropped. If you unexport > with true, then all remote references will be dropped automatically. That description of the "force" boolean parameter to the unexport operation isn't right: the distinction is that if force=false, the unexport only occurs if there are currently no incoming remote calls in progress to the remote object; if force=true, the unexport occurs regardless of whether or not there are remote calls in progress. -- Peter =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff RMI-USERS". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [ Joseph Shraibman ] how do I debug dgc?, Gregg G. Wonderly |
|---|---|
| Next by Date: | Re: [ Joseph Shraibman ] how do I debug dgc?, Joseph Shraibman |
| Previous by Thread: | Re: [ Joseph Shraibman ] how do I debug dgc?, Gregg G. Wonderly |
| Next by Thread: | Re: [ Peter Jones - JavaSoft East ] [ Joseph Shraibman ] how do I debug dgc?, Gregg G. Wonderly |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |