Advanced Minds

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
c++ program is a collection garbage collection in C++ program (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: c++ program is a collection garbage collection in C++ program
#8388
Edh (Visitor)
Click here to see the profile of this user
Birthdate:
c++ program is a collection garbage collection in C++ program  
Lets say you had the follow problem.  It deals with memory leaks in a vendor supplied library.  The vendor is no longer in the business but a mission critical legacy application leaks memory due to leaks in this vendor's library.  I have the source for the legacy application which is built on top of the vendor's library.  It depends on the library for communication across a network.  The memory leaks have been traced to the library using a memory analysis tool ( i..e Purify ). In other words, I cannot fix the memory leaks in the application since I do not have access to the source code where the leaks are occurring. Question:  Can you impellent garbage collection in C++?  In other words, can you hook into new/delete or malloc/free and somehow manage your memory?  Or are you stuck with the compiler implementations? This is a real problem I have.  Management is unwilling to swap out the vendor library ( to costly ).  However, the application faults after a few hours of use.   I seem to recall something about implementing your own memory manager in C++.  What I would like to do is implement garbage collection. The system runs under unix, HP-UX to be exact.  So the solution must not be a windows only solution. Hey, if this was easy, we wouldn't need you!       [ Send an empty e-mail to c++ This e-mail address is being protected from spam bots, you need JavaScript enabled to view it for info ]       [ about comp.lang.c++.moderated. First time posters: do this! ]
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
sprawdz autoryzacje brak autoryzacji brak autoryzacji no auth nieautoryzowano
news bloopers metrorent thailand adventure travel ab workouts weather news