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

version 1.13, 2017/12/03 23:56:05 version 1.16, 2020/12/15 00:26:11
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  #ifndef PA_DEBUG_DISABLE_GC
         {          {
                 int saved=GC_dont_gc;                  GC_enable();
                 GC_dont_gc=0;  
                 GC_gcollect();                  GC_gcollect();
 #ifdef GC_DEBUG                  GC_disable();
                 GC_generate_random_backtrace();  
 #endif  
                 GC_dont_gc=saved;  
         }          }
 #endif  #endif
 }  }

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


E-mail: