Diff for /parser3/src/classes/memory.C between versions 1.13 and 1.17

version 1.13, 2017/12/03 23:56:05 version 1.17, 2020/12/15 13:33:26
Line 23  public: // Methoded Line 23  public: // Methoded
   
 DECLARE_CLASS_VAR(memory, new MMemory);  DECLARE_CLASS_VAR(memory, new MMemory);
   
 #ifdef GC_DEBUG  
 extern "C" void GC_generate_random_backtrace();  
 #endif  
   
 static void _compact(Request& r, MethodParams&) {  static void _compact(Request& r, MethodParams&) {
         r.wipe_unused_execution_stack();          r.wipe_unused_execution_stack();
 #ifndef PA_DEBUG_DISABLE_GC          PA_GC_GCOLLECT;
         {  
                 int saved=GC_dont_gc;  
                 GC_dont_gc=0;  
                 GC_gcollect();  
 #ifdef GC_DEBUG  
                 GC_generate_random_backtrace();  
 #endif  
                 GC_dont_gc=saved;  
         }  
 #endif  
 }  }
   
 // constructor  // constructor

Removed from v.1.13  
changed lines
  Added in v.1.17


E-mail: