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

Activity

Hide
Christophe DENEUX added a comment - Wed, 18 Apr 2012 - 13:13:29 +0200

As the risk is too big for the next release of Petals ESB (3.3.0), it will be fixed for the next one.

Show
Christophe DENEUX added a comment - Wed, 18 Apr 2012 - 13:13:29 +0200 As the risk is too big for the next release of Petals ESB (3.3.0), it will be fixed for the next one.
Christophe DENEUX made changes - Wed, 18 Apr 2012 - 13:14:07 +0200
Field Original Value New Value
Fix Version/s 3.3.1 [ 10356 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Tue, 24 Sep 2013 - 09:48:13 +0200
Fix Version/s VNext [ 10413 ]
Fix Version/s 4.2.0 [ 10356 ]
Hide
Victor NOËL added a comment - Tue, 26 May 2015 - 16:50:51 +0200

It was fixed as part of the switch to Java 7 (PETALSDISTRIB-109): we removed that method and used the method close provided by the JDK.

Show
Victor NOËL added a comment - Tue, 26 May 2015 - 16:50:51 +0200 It was fixed as part of the switch to Java 7 (PETALSDISTRIB-109): we removed that method and used the method close provided by the JDK.
Victor NOËL made changes - Tue, 26 May 2015 - 16:50:51 +0200
Resolution Won't Fix [ 2 ]
Status New [ 10000 ] Resolved [ 10004 ]
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Fix Version/s 5.0.0 [ 10413 ]
Christophe DENEUX made changes - Wed, 27 May 2015 - 07:55:51 +0200
Link This issue blocks PETALSDISTRIB-109 [ PETALSDISTRIB-109 ]
Christophe DENEUX made changes - Wed, 27 May 2015 - 07:56:31 +0200
Fix Version/s 5.0.0 [ 10413 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Resolved Resolved
1133d 3h 38m
1
Victor NOËL
Tue, 26 May 2015 - 16:50:51 +0200



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