1. Fuzhou Chen
  2. esch

Commits

Fuzhou Chen  committed 64067a7

[Fix] Fix a bug that does not invoke recycle() from function pointer.

  • Participants
  • Parent commits 93c1c51
  • Branches default

Comments (0)

Files changed (2)

File src/esch_gc.c

View file
     ESCH_CHECK_PARAM_PUBLIC(gc != NULL);
     ESCH_CHECK_PARAM_PUBLIC(ESCH_IS_VALID_GC(gc));
 
-    ret = esch_gc_naive_mark_sweep_recycle_i(gc);
+    ret = esch_gc_recycle_i(gc);
 Exit:
     return ret;
 }
     ESCH_ASSERT(gc != NULL);
     ESCH_ASSERT(ESCH_IS_VALID_GC(gc));
 
-    ret = esch_gc_naive_mark_sweep_recycle_i(gc);
+    gc->recycle(gc);
 Exit:
     return ret;
 }

File tasks.rst

View file
   - [DONE] Set vector slots resizing configurable.
 
 * Allow vector store primitive types.
+  - Update esch_element to esch_value
+  - Update esch_vector to allow storing esch_value.
+  - Code
 
 * Implement a memory-saving character type.