Skip to content

Commit

Permalink
Adding warning when trying to set --inline-fastpath without MMTk
Browse files Browse the repository at this point in the history
  • Loading branch information
udesou committed Oct 23, 2024
1 parent 0f32465 commit 783e889
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jloptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 783e889

Please sign in to comment.