Skip to content

Commit

Permalink
Fixing removed newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
udesou committed Sep 25, 2024
1 parent b59dfb3 commit 3382316
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gc-debug.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef MMTK_GC
#include "gc-common.h"
#include "gc-stock.h"
Expand Down
1 change: 1 addition & 0 deletions src/gc-heap-snapshot.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license

#include "gc-heap-snapshot.h"

#include "julia.h"
Expand Down
1 change: 1 addition & 0 deletions src/gc-page-profiler.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef MMTK_GC
#include "gc-page-profiler.h"
#include "julia.h"
Expand Down
1 change: 1 addition & 0 deletions src/gc-pages.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef MMTK_GC
#include "gc-common.h"
#include "gc-stock.h"
Expand Down
7 changes: 7 additions & 0 deletions src/gc-stock.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef MMTK_GC
#include "gc-common.h"
#include "gc-stock.h"
Expand Down Expand Up @@ -405,6 +406,7 @@ static void sweep_weak_refs(void)
}
}


STATIC_INLINE void jl_batch_accum_heap_size(jl_ptls_t ptls, uint64_t sz) JL_NOTSAFEPOINT
{
uint64_t alloc_acc = jl_atomic_load_relaxed(&ptls->gc_tls.gc_num.alloc_acc) + sz;
Expand Down Expand Up @@ -452,6 +454,7 @@ STATIC_INLINE jl_value_t *jl_gc_big_alloc_inner(jl_ptls_t ptls, size_t sz)
return jl_valueof(&v->header);
}


// Instrumented version of jl_gc_big_alloc_inner, called into by LLVM-generated code.
JL_DLLEXPORT jl_value_t *jl_gc_big_alloc(jl_ptls_t ptls, size_t sz, jl_value_t *type)
{
Expand Down Expand Up @@ -3886,13 +3889,17 @@ JL_DLLEXPORT size_t jl_gc_external_obj_hdr_size(void)
return sizeof(bigval_t);
}

<<<<<<< HEAD
<<<<<<< HEAD

<<<<<<< HEAD
=======
>>>>>>> c48a701f54 (WIP: Adding support for MMTk/Immix)
=======
>>>>>>> 0aee3ba32a (Refactoring to be considered before adding MMTk)
=======

>>>>>>> 30ac6f081d (Fixing removed newlines)
JL_DLLEXPORT void jl_gc_schedule_foreign_sweepfunc(jl_ptls_t ptls, jl_value_t *obj)
{
arraylist_push(&ptls->gc_tls.sweep_objs, obj);
Expand Down

0 comments on commit 3382316

Please sign in to comment.