Skip to content

Commit 0ba9be7

Browse files
committed
Update mmtk to no longer free obj_id_table
1 parent 63e2d8d commit 0ba9be7

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

gc/mmtk/mmtk.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ typedef struct MMTk_RubyUpcalls {
6868
void (*update_global_tables)(int tbl_idx);
6969
int (*global_tables_count)(void);
7070
void (*update_finalizer_table)(void);
71-
void (*update_obj_id_tables)(void);
7271
} MMTk_RubyUpcalls;
7372

7473
typedef struct MMTk_RawVecOfObjRef {

gc/mmtk/src/abi.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ pub struct RubyUpcalls {
322322
pub update_global_tables: extern "C" fn(tbl_idx: c_int),
323323
pub global_tables_count: extern "C" fn() -> c_int,
324324
pub update_finalizer_table: extern "C" fn(),
325-
pub update_obj_id_tables: extern "C" fn(),
326325
}
327326

328327
unsafe impl Sync for RubyUpcalls {}

gc/mmtk/src/weak_proc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ struct UpdateFinalizerObjIdTables;
185185
impl GlobalTableProcessingWork for UpdateFinalizerObjIdTables {
186186
fn process_table(&mut self) {
187187
(crate::upcalls().update_finalizer_table)();
188-
(crate::upcalls().update_obj_id_tables)();
189188
}
190189
}
191190
impl GCWork<Ruby> for UpdateFinalizerObjIdTables {

0 commit comments

Comments
 (0)