#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Posts
    194
    Rep Power
    13

    garbage collection


    whats the best way to implement garbge coll. in multithreaded java program? should it be in the mail class which calls the thread, or should it be in the thread class (implements thread) before it exits??

    right now I have it in the thread class like this:

    Code:
     System.gc();
    Web Development Studio | XML/ XSL/ PHP/ Flash/ Mysql | Digital Metamorphoses |
    http://www.dimensionstudio.biz
  2. #2
  3. Golden Member =p
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2002
    Location
    Final Frontier
    Posts
    9
    Rep Power
    0

IMN logo majestic logo threadwatch logo seochat tools logo