We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb0895 commit 4a17579Copy full SHA for 4a17579
src/mmtk-gc.c
@@ -32,8 +32,16 @@ JL_DLLEXPORT void jl_gc_set_cb_notify_external_free(jl_gc_cb_notify_external_fre
32
JL_DLLEXPORT void jl_gc_set_cb_notify_gc_pressure(jl_gc_cb_notify_gc_pressure_t cb, int enable)
33
{
34
}
35
+
36
+// mutex for page profile
37
+uv_mutex_t page_profile_lock;
38
39
JL_DLLEXPORT void jl_gc_take_page_profile(ios_t *stream)
40
41
+ uv_mutex_lock(&page_profile_lock);
42
+ const char *str = "Page profiler in unsupported in MMTk.";
43
+ ios_write(stream, str, strlen(str));
44
+ uv_mutex_unlock(&page_profile_lock);
45
46
47
JL_DLLEXPORT double jl_gc_page_utilization_stats[JL_GC_N_MAX_POOLS];
0 commit comments