Distributed garbage collection—Logging—Debugging—Testing RMI in a single machine—Performance—RMI and JDK versions—Exercises
In this chapter we discuss some selected further topics in RMI: DGC, logging, debugging, performance, efficiency, and the usability and interoperability of RMI under different versions of Java and JDK.
You really don't need to know much about distributed garbage collection (DGC) in RMI, except that it exists. The interfaces and classes defined in the package
java.rmi.dgc are used by the DGC subsystem, not by developers.
Consider a client which acquires a remote reference to an RMI server. As we saw in §1.5, a remote reference is initially ...