.\" gcFixPrematureFrees.3 .\" $Id: //info.geodesic.com/gc/version/walton/src/GCDocs/Lite/man/man3/gcFixPrematureFrees.3#3 $ .\" Copyright 1998 Geodesic Systems. All rights reserved. .nr X .TH gcFixPrematureFrees 3 "1998-06-12" .SH NAME gcFixPrematureFrees, gcStopFixingPrematureFrees \- enable and disable fixing of premature frees by the Sun WorkShop Memory Monitor .SH SYNOPSIS .LP .B #include .LP .B void gcFixPrematureFrees(void); .LP .B void gcStopFixingPrematureFrees(void); .SH MT-LEVEL .LP Thread safe (but, see .BR BUGS ). .SH DESCRIPTION .B gcFixPrematureFrees(\|) tells Sun WorkShop Memory Monitor to fix premature frees and also optimizes collector tuning for fixing premature frees. .LP .B gcStopFixingPrematureFrees(\|) tells Sun WorkShop Memory Monitor to stop fixing premature frees, reversing the effect of .BR gcFixPrematureFrees(\|) . This also optimizes collector tuning for only fixing memory leaks. .LP To use the Sun WorkShop Memory Monitor you must link your program with one of the Sun WorkShop Memory Monitor libraries (see .BR FILES ). .SH ENVIRONMENT .LP .TP .SB GC_DISABLE_FREE It turns off explicit deallocation at run-time. It is equivalent to calling gcFixPrematureFrees() from gcInitialize(). .SH FILES .TP .BR libgc.a , " libgc.so" Sun WorkShop Memory Monitor libraries for deployment mode. .TP .BR libgc_dbg.a , " libgc_dbg.so" Sun WorkShop Memory Monitor libraries for debugging mode, enabling interaction with .BR gcmonitor (1). .SH SEE ALSO .BR gcInitialize (3) .BR gcmonitor (1) .LP "Automatically Fixing Premature Frees" .I Sun WorkShop Memory Monitor User's Manual