How to tweak libgc garbage collector for C++

Hi there,

i have a question regarding garbage collection:

We are developing here a C++application with sunstudio11 and make use of libgc.

Now we have the problem that our application makes exhaustive use of heap allocation and deallocation, which leads to very big heap-size/vss of the program.

I already played around with gcmonitor and found out, that the libgc can be tweaked via calls to the methods gcPriority, gcCollect, gcLogfile, ...

Unfortunately i found no header file, that contains the method declarations :-(

Does anyone know where to find it?

Best Regards, Thanks in advance, Andreas Etrernach

PS: I already played around via call gcCollect (obtaining method pointer via dlsym). This is working perfectly, but i must not use any undocumented function :-(

[823 byte] By [rotasa] at [2007-11-26 22:25:05]
# 1
Due to licensing restrictions, we have not been able to supply gcmonitor since Sun Studio 8, and we can no longer legally provide any support for it.The only supported libgc functions are the ones in the header.
clamage45a at 2007-7-10 11:25:44 > top of Java-index,Development Tools,Solaris and Linux Development Tools...