Skip to content

Commit

Permalink
flipped sizeof
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto committed Feb 17, 2023
1 parent 6194c0a commit dc2c305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3299,11 +3299,11 @@ void jl_init_thread_heap(jl_ptls_t ptls)
jl_gc_markqueue_t *mq = &ptls->mark_queue;
ws_anchor_t anc = {0, 0};
ws_queue_t *cq = &mq->cq;
ws_array_t *wsa = create_ws_array(CHUNK_QUEUE_INIT_SIZE, sizeof(void *));
ws_array_t *wsa = create_ws_array(CHUNK_QUEUE_INIT_SIZE, sizeof(jl_gc_chunk_t));
jl_atomic_store_relaxed(&cq->anchor, anc);
jl_atomic_store_relaxed(&cq->array, wsa);
ws_queue_t *q = &mq->q;
ws_array_t *wsa2 = create_ws_array(MARK_QUEUE_INIT_SIZE, sizeof(jl_gc_chunk_t));
ws_array_t *wsa2 = create_ws_array(MARK_QUEUE_INIT_SIZE, sizeof(void *));
jl_atomic_store_relaxed(&q->anchor, anc);
jl_atomic_store_relaxed(&q->array, wsa2);

Expand Down

0 comments on commit dc2c305

Please sign in to comment.