-
Enhancement
-
Resolution: Fixed
-
P4
-
1.2.2
-
beta
-
x86
-
windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2030007 | 1.4.0 | Ken Cavanaugh | P4 | Closed | Fixed | merlin |
Name: clC74495 Date: 11/04/99
We need to make the instance of ORB (by org.omg.CORBA.ORB class)
when a client's program calls for a method of program in the server
by use of CORBA. Now we can only make the instance of ORB by
the methods of "init(Applet app, Properties props)" and
"init(String[] args, Properties props)", but we can't delete
the instance of ORB. Also this instance can't be deleted
by starting Garbage Collection(GC) after substitute zero
for the ORB's instance. And the ORB's instance is deleted
when the JavaVM finishes.
In case of making many instances of ORB, we need to delete
the instances to make space in the heap memory.
In "JavaTM 2 Platform, Standard Edition, v1.2.2 API Specification"
(of SUN's homepage), I found that the class of ORB has the method
of "shutdown". But the method is unimplemented now.
Please implement the "shutdown" method of the ORB's class
as soon as you can.
And if the instance isn't deleted by the method of "shutdown",
please make a method to delete the instance of class in heap memory
independent of GC. For example making a method "delete()"
in the class of "java.lang.Object".
We know the way to manage the memory by the class of "SoftReference"
(in java.lang.ref), but it is very hard to attach the "SoftReference"
to all of the instances in the program. I hope that you will accept
my proposal.
(Review ID: 97443)
======================================================================
- backported by
-
JDK-2030007 Would you please make a method to delete the instance of ORB.
-
- Closed
-