From 783e8897b772b5542f0ae064e4a6f429e2c85715 Mon Sep 17 00:00:00 2001 From: Eduardo Souza Date: Wed, 23 Oct 2024 05:13:09 +0000 Subject: [PATCH] Adding warning when trying to set --inline-fastpath without MMTk --- src/jloptions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jloptions.c b/src/jloptions.c index 87324d1acb193..d5adcfb21e6e2 100644 --- a/src/jloptions.c +++ b/src/jloptions.c @@ -841,6 +841,7 @@ JL_DLLEXPORT void jl_parse_opts(int *argcp, char ***argvp) #else // always set to 0 if not using MMTk jl_options.mmtk_inline_fastpath = 0; + jl_printf(JL_STDERR, "WARNING: Attempting to set --inline-fastpath without using MMTk"); #endif else if (!strcmp(optarg,"no")) jl_options.mmtk_inline_fastpath = 0;