--- parser3/src/targets/cgi/parser3.C 2003/03/25 11:00:29 1.216.2.30.2.6 +++ parser3/src/targets/cgi/parser3.C 2003/04/01 15:42:26 1.216.2.30.2.17 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_PARSER3_C="$Date: 2003/03/25 11:00:29 $"; +static const char* IDENT_PARSER3_C="$Date: 2003/04/01 15:42:26 $"; #include "pa_config_includes.h" @@ -528,6 +528,24 @@ static void usage(const char* program) { } int main(int argc, char *argv[]) { + GC_java_finalization=0; + +#ifndef PA_DEBUG_DISABLE_GC + // Dont collect unless explicitly requested + // this is quicker (~30% ), but less memory-efficient(~8%) + // so deciding for speed + GC_dont_gc=1; +#endif + + /* + Array test; + test+=3; + test+=4; +// int a=test.count(); + int b=test.get(0); +// int b=test.get(10); + printf("%d", b);//test.count());*/ + #ifdef SIGUSR1 if(signal(SIGUSR1, SIGUSR1_handler)==SIG_ERR) SAPI::die("Can not set handler for SIGUSR1"); @@ -614,7 +632,7 @@ int main(int argc, char *argv[]) { // Set flag to the new value _CrtSetDbgFlag( tmpFlag ); - _CrtSetBreakAlloc(62143); //147302 +// _CrtSetBreakAlloc(60); _CrtSetReportMode( _CRT_WARN, _CRTDBG_MODE_FILE ); _CrtSetReportFile( _CRT_WARN, _CRTDBG_FILE_STDERR );