Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0002084
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2007-10-15 10:032008-07-02 17:17
Reporteruser71View Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version2.40beta
StatusclosedFix in branchFixed in SCM revision2033
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0002084: System.gc() should never be called

DescriptionOpenbravo starts a thread that explictly invokes the garbage collector and finalization functions.

This is not good practice & won't actually help clean up database connections.
In addition it means that there is a thread running that won't be shutdown properly when the app is undeployed or redeployed.

I think the PeriodicGarbageCollector class should be removed entirely.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0004151 closedgorka_gil System.gc() should never be called 

-  Notes
(0002361)
user71
2007-10-16 08:29
edited on: 2008-06-12 09:22

Logged In: YES
user_id=1737231
Originator: YES

File Added: garbage_collector.patch
(0002362)
villind (viewer)
2008-01-17 15:21
edited on: 2008-06-12 09:22

Logged In: YES
user_id=61737
Originator: NO

Fixed in trunk revision 2033. Garbage collector thread removed.
(0002363)
psarobe (viewer)
2008-06-04 17:09
edited on: 2008-06-12 09:22

Logged In: YES
user_id=1500703
Originator: NO

After searching for System.gc(), no results found
(0005673)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:43

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1813644 [^]

- Issue History
Date Modified Username Field Change
2008-06-24 16:47 cromero Status closed => new
2008-06-24 16:47 cromero Resolution fixed => open
2008-06-24 16:47 cromero Fixed in Version 2.40alpha-r2 =>
2008-06-24 16:47 cromero Status new => scheduled
2008-06-24 16:48 cromero Status scheduled => resolved
2008-06-24 16:48 cromero svn_revision => 2033
2008-06-24 16:48 cromero Resolution open => fixed
2008-06-24 16:48 cromero Status resolved => closed
2008-06-24 16:51 cromero Status closed => new
2008-06-24 16:51 cromero Resolution fixed => open
2008-06-24 16:51 cromero Status new => scheduled
2008-06-24 16:51 cromero Status scheduled => resolved
2008-06-24 16:51 cromero Resolution open => fixed
2008-06-24 17:41 cromero Status resolved => new
2008-06-24 17:41 cromero Resolution fixed => open
2008-06-24 17:42 cromero Status new => scheduled
2008-06-24 17:42 cromero Status scheduled => resolved
2008-06-24 17:42 cromero Fixed in Version => 2.40alpha-r2
2008-06-24 17:42 cromero Resolution open => fixed
2008-07-02 17:17 plujan Status resolved => closed
2008-07-02 17:17 plujan Fixed in Version 2.40alpha-r2 => 2.40beta


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker