Petals ESB Container

PetalsClassLoader includes a tricky method to unlock JAR file of classloader

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 4.0.0
  • Fix Version/s: 5.0.0
  • Component/s: Classloader
  • Security Level: Public
  • Description:
    Hide

    Because of memory leak (some object instance remain in memory and won't be garbaged), some classes cannot be unloaded. So some classloaders are not freed, and some JAR files are locked on the filesystem.
    To prevent lock, a tricky method has been added into PetalsClassLoader to unlock JAR files when the classloader is nor more needed.

    Remove this tricky method fixing memory leak, and JAR files will be unlocked.

    Show
    Because of memory leak (some object instance remain in memory and won't be garbaged), some classes cannot be unloaded. So some classloaders are not freed, and some JAR files are locked on the filesystem. To prevent lock, a tricky method has been added into PetalsClassLoader to unlock JAR files when the classloader is nor more needed. Remove this tricky method fixing memory leak, and JAR files will be unlocked.
  • Environment:
    -

Issue Links

People

Dates

  • Created:
    Wed, 18 Apr 2012 - 13:12:01 +0200
    Updated:
    Wed, 27 May 2015 - 07:56:31 +0200
    Resolved:
    Tue, 26 May 2015 - 16:50:51 +0200