From 27df295a73ef29d251ad5f5c8a210c563dfd04d5 Mon Sep 17 00:00:00 2001 From: Babneet Singh Date: Tue, 4 Dec 2018 15:33:46 -0500 Subject: [PATCH] Disable OMR_THR_YIELD_ALG on MacOS OMR_THR_YIELD_ALG should only be used with Completely Fair Scheduler (CFS). CFS is only available on Linux. MacOS schedulers can be classified as multilevel feedback queue schedulers. MacOS doesn't use CFS. Thus, disabling OMR_THR_YIELD_ALG on MacOS. Signed-off-by: Babneet Singh --- example/glue/configure_includes/configure_osx.mk | 1 - glue/configure_includes/configure_osx.mk | 1 - 2 files changed, 2 deletions(-) diff --git a/example/glue/configure_includes/configure_osx.mk b/example/glue/configure_includes/configure_osx.mk index 619ee35076f..241df5a0e8c 100644 --- a/example/glue/configure_includes/configure_osx.mk +++ b/example/glue/configure_includes/configure_osx.mk @@ -39,7 +39,6 @@ CONFIGURE_ARGS += \ --enable-OMR_TEST_COMPILER \ --enable-OMR_THR_FORK_SUPPORT \ --enable-OMR_THR_THREE_TIER_LOCKING \ - --enable-OMR_THR_YIELD_ALG \ --enable-OMR_GC_ARRAYLETS \ --enable-OMR_THR_SPIN_WAKE_CONTROL diff --git a/glue/configure_includes/configure_osx.mk b/glue/configure_includes/configure_osx.mk index 9012c8f3533..416521da745 100644 --- a/glue/configure_includes/configure_osx.mk +++ b/glue/configure_includes/configure_osx.mk @@ -32,7 +32,6 @@ CONFIGURE_ARGS += \ --enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \ --enable-OMR_THR_FORK_SUPPORT \ --enable-OMR_THR_THREE_TIER_LOCKING \ - --enable-OMR_THR_YIELD_ALG \ --enable-OMR_GC_ARRAYLETS CONFIGURE_ARGS += libprefix=lib exeext= solibext=.dylib arlibext=.a objext=.o