Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4151875

RMI distributed garbage collection features are broken in JDK1.2fcs-A.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      The distributed garbage collection features of RMI are broken in
      JDK1.2fcs-A. Nothing gets garbage collected due to some security
      related problem that gives a Null Pointer Exception.

      When I run the RMI DGC Test Suite no remote objects that are no
      longer referenced get garbage collected. While running the RMI
      DGC Test Suite I get the following exception which is what is
      blowing up the DGC features of RMI.

      This exception occurs when I dereference a bunch of remote object
      references from the DGCTestClient program.

      java.lang.NullPointerException
              at java.security.AccessControlContext.equals(AccessControlContext.java:434)
              at sun.rmi.transport.tcp.TCPChannel.checkConnectPermission(TCPChannel.java:137)
              at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
              at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:302)
              at sun.rmi.transport.DGCImpl_Stub.clean(DGCImpl_Stub.java)
              at sun.rmi.transport.DGCClient.sendCleans(DGCClient.java:596)
              at sun.rmi.transport.DGCClient.run(DGCClient.java:653)
              at java.lang.Thread.run(Thread.java:472)

      This problem occurs in JDK1.2fcs-A.

      The RMI DGC Test Suite is part of the attachment. To run it do
      the following:

      % tar xvf rmi.tar
      % starts -v /* Start the DGCTestServer */
      % startc -c 4 -n 300 -t 5 m /* Start 4 DGCTestClient's to run for 5 mins */


      For more info on running the RMI DGC Test Suite look at the README file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              aefreche Alan Frechette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: