Java 7 gets this: http://download.java.net/jdk7/docs/api/java/net/URLClassLoader.html#close()
<http://download.java.net/jdk7/docs/api/java/net/URLClassLoader.html#close()>Might help improve GC on ClassLoaders. -- Erlend On Tue, May 24, 2011 at 9:14 AM, Neil Bartlett <[email protected]> wrote: > To "get rid of the old ways of classloading" would mean breaking > almost every Java library and application ever written... so, no they > won't be doing that! > > On May 23, 3:28 pm, Jan Goyvaerts <[email protected]> wrote: > > I thought their intention was to get rid of the old ways of classloading, > > classpath, ... > > > > Ahwel... we'll see :-) > > > > > > > > > > > > > > > > On Mon, May 23, 2011 at 16:15, Kirk <[email protected]> wrote: > > > I don't believe the classloader problem will be solved in 8 but I'm not > > > 100% what changes will come with Jigsaw. I do know that in some cases > using > > > alternate reference types can solve the problem. As people find bad > > > relationships and file bugs, these do get fixed so I expect it will get > > > better over time. > > > > > Regards, > > > Kirk > > > > > On May 23, 2011, at 3:53 PM, Jan Goyvaerts wrote: > > > > > if it's a class loader problem, is this going to be the same for JDK8 ? > I > > > mean, with Jigsaw they intend to change all this class loading. Or not > ? > > > > > On Mon, May 23, 2011 at 15:49, Kirk <[email protected]> wrote: > > > > >> Perm space has been removed from special builds of the JVM. That said, > it > > >> will not get rid of the problem, all JVMs no matter who makes them... > leak > > >> and you *will* run out of memory. > > > > >> Regards, > > >> Kirk > > > > >> On May 23, 2011, at 2:46 PM, Casper Bang wrote: > > > > >> >> Calling it a perm space problem *is* wrong. It's a problem with > > >> classloaders. > > > > >> > Different view on the same matter, which is rather irrelevant when > the > > >> > maintenance people call in panic due to red flagged Sysorb messages! > > >> > Then it becomes a problem with Java and specifically hitting the > hard > > >> > ceiling of the GC PermGen region. The fact that so many apps leak > > >> > memory unknowingly, and that they are working on removing PermGen, > > >> > suggests this is a common and valid interpretation. > > > > >> > -- > > >> > You received this message because you are subscribed to the Google > > >> Groups "The Java Posse" group. > > >> > To post to this group, send email to [email protected]. > > >> > To unsubscribe from this group, send email to > > >> [email protected]. > > >> > For more options, visit this group at > > >>http://groups.google.com/group/javaposse?hl=en. > > > > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "The Java Posse" group. > > >> To post to this group, send email to [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]. > > >> For more options, visit this group at > > >>http://groups.google.com/group/javaposse?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "The Java Posse" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/javaposse?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "The Java Posse" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/javaposse?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
