Skip to content

Commit

Permalink
Clean up GC_TLH_PREFETCH_FTA flag settings in cmake files
Browse files Browse the repository at this point in the history
This commit removes redundant OMR_GC_TLH_PREFETCH_FTA lines from cmake
files for some platforms.
OMR_GC_TLH_PREFETCH_FTA is automatically defined in omrcfg.h during the
build depending on J9VM_GC_TLH_PREFETCH_FTA value.

Signed-off-by: KONNO Kazuhiro <[email protected]>
  • Loading branch information
knn-k committed Feb 9, 2024
1 parent fea40b7 commit fd9a7b7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion runtime/cmake/caches/linux_ppc-64_le.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ set(J9VM_PORT_RUNTIME_INSTRUMENTATION ON CACHE BOOL "")

set(OMR_GC_CONCURRENT_SCAVENGER ON CACHE BOOL "")
set(OMR_GC_IDLE_HEAP_MANAGER ON CACHE BOOL "")
set(OMR_GC_TLH_PREFETCH_FTA OFF CACHE BOOL "")
set(OMR_PORT_NUMA_SUPPORT ON CACHE BOOL "")

include("${CMAKE_CURRENT_LIST_DIR}/linux.cmake")
Expand Down
1 change: 0 additions & 1 deletion runtime/cmake/caches/linux_x86-64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ set(J9VM_OPT_SWITCH_STACKS_FOR_SIGNAL_HANDLER ON CACHE BOOL "")

set(OMR_GC_CONCURRENT_SCAVENGER ON CACHE BOOL "")
set(OMR_GC_IDLE_HEAP_MANAGER ON CACHE BOOL "")
set(OMR_GC_TLH_PREFETCH_FTA ON CACHE BOOL "")
set(OMR_GC_VLHGC_CONCURRENT_COPY_FORWARD ON CACHE BOOL "")
set(OMR_PORT_NUMA_SUPPORT ON CACHE BOOL "")

Expand Down
1 change: 0 additions & 1 deletion runtime/cmake/caches/osx_x86-64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ set(J9VM_PORT_RUNTIME_INSTRUMENTATION OFF CACHE BOOL "")

set(OMR_GC_CONCURRENT_SCAVENGER ON CACHE BOOL "")
set(OMR_GC_IDLE_HEAP_MANAGER ON CACHE BOOL "")
set(OMR_GC_TLH_PREFETCH_FTA ON CACHE BOOL "")
set(OMR_PORT_NUMA_SUPPORT ON CACHE BOOL "")

include("${CMAKE_CURRENT_LIST_DIR}/common.cmake")
1 change: 0 additions & 1 deletion runtime/cmake/caches/win_x86-64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ set(J9VM_OPT_NATIVE_CHARACTER_CONVERTER ON CACHE BOOL "")
set(J9VM_THR_ASYNC_NAME_UPDATE OFF CACHE BOOL "")

set(OMR_GC_CONCURRENT_SCAVENGER ON CACHE BOOL "")
set(OMR_GC_TLH_PREFETCH_FTA ON CACHE BOOL "")
set(OMR_PORT_ALLOCATE_TOP_DOWN ON CACHE BOOL "")

# CMake forces a CMAKE_BUILD_TYPE when using msvc, which defaults to Debug
Expand Down
1 change: 0 additions & 1 deletion runtime/cmake/caches/win_x86.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ set(J9VM_THR_ASYNC_NAME_UPDATE OFF CACHE BOOL "")
set(OMR_ENV_DATA32 ON CACHE BOOL "")
set(OMR_ENV_DATA64 OFF CACHE BOOL "")

set(OMR_GC_TLH_PREFETCH_FTA ON CACHE BOOL "")
set(OMR_PORT_ALLOCATE_TOP_DOWN ON CACHE BOOL "")

# CMake forces a CMAKE_BUILD_TYPE when using msvc, which defaults to Debug
Expand Down
1 change: 0 additions & 1 deletion runtime/cmake/caches/zos_390-64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ set(OMR_ZOS_LINK_COMPAT ${OMR_ZOS_COMPILE_TARGET} CACHE STRING "")

set(OMR_GC_CONCURRENT_SCAVENGER ON CACHE BOOL "")
set(OMR_GC_IDLE_HEAP_MANAGER ON CACHE BOOL "")
set(OMR_GC_TLH_PREFETCH_FTA OFF CACHE BOOL "")
set(OMR_THR_YIELD_ALG OFF CACHE BOOL "")
set(OMR_THR_SPIN_WAKE_CONTROL OFF CACHE BOOL "")
set(OMR_USE_NATIVE_ENCODING OFF CACHE BOOL "")
Expand Down

0 comments on commit fd9a7b7

Please sign in to comment.