Skip to content

Commit

Permalink
Merge pull request #8406 from dnakamura/omr_compressed
Browse files Browse the repository at this point in the history
Remove unused OMR compressed ref flags
  • Loading branch information
DanHeidinga committed Feb 8, 2020
2 parents 71b7b69 + da22a57 commit e84b6f0
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 50 deletions.
4 changes: 1 addition & 3 deletions runtime/cmake/caches/cmprssptrs.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright (c) 2019, 2019 IBM Corp. and others
# Copyright (c) 2019, 2020 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand All @@ -21,8 +21,6 @@
################################################################################

set(OMR_GC_COMPRESSED_POINTERS ON CACHE BOOL "")
set(OMR_INTERP_COMPRESSED_OBJECT_HEADER ON CACHE BOOL "")
set(OMR_INTERP_SMALL_MONITOR_SLOT ON CACHE BOOL "")
set(J9VM_GC_CLASSES_ON_HEAP ON CACHE BOOL "")
set(J9VM_GC_COMPRESSED_POINTERS ON CACHE BOOL "")
set(J9VM_INTERP_COMPRESSED_OBJECT_HEADER ON CACHE BOOL "")
Expand Down
6 changes: 1 addition & 5 deletions runtime/gc_glue_java/configure_includes/configure_aix_ppc.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2016, 2019 IBM Corp. and others
# Copyright (c) 2016, 2020 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -34,8 +34,6 @@ ifeq (aix_ppc-64_cmprssptrs, $(SPEC))
--enable-OMR_ENV_DATA64 \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand All @@ -45,8 +43,6 @@ ifeq (aix_ppc-64_cmprssptrs_purec, $(SPEC))
--enable-OMR_ARCH_POWER \
--enable-OMR_ENV_DATA64 \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ ifeq (linux_390-64_cmprssptrs_codecov, $(SPEC))
--enable-OMR_ENV_DATA64 \
--enable-OMR_GC_DOUBLE_MAP_ARRAYLETS \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand All @@ -53,8 +51,6 @@ ifeq (linux_390-64_cmprssptrs, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand All @@ -65,8 +61,6 @@ ifeq (linux_390-64_cmprssptrs_purec, $(SPEC))
--enable-OMR_ENV_DATA64 \
--enable-OMR_GC_DOUBLE_MAP_ARRAYLETS \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ CONFIGURE_ARGS += \

ifneq (,$(findstring _cmprssptrs,$(SPEC)))
CONFIGURE_ARGS += \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT
--enable-OMR_GC_COMPRESSED_POINTERS
endif

ifneq (,$(findstring _cross,$(SPEC)))
Expand Down
10 changes: 0 additions & 10 deletions runtime/gc_glue_java/configure_includes/configure_linux_ppc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ ifeq (linux_ppc-64_cmprssptrs_le, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand All @@ -54,8 +52,6 @@ ifeq (linux_ppc-64_cmprssptrs_le_gcc, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand All @@ -68,8 +64,6 @@ ifeq (linux_ppc-64_cmprssptrs_le_purec, $(SPEC))
--enable-OMR_GC_DOUBLE_MAP_ARRAYLETS \
--enable-OMR_ENV_LITTLE_ENDIAN \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand All @@ -83,8 +77,6 @@ ifeq (linux_ppc-64_cmprssptrs, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand All @@ -96,8 +88,6 @@ ifeq (linux_ppc-64_cmprssptrs_purec, $(SPEC))
--enable-OMR_ENV_DATA64 \
--enable-OMR_GC_DOUBLE_MAP_ARRAYLETS \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2019, 2019 IBM Corp. and others
# Copyright (c) 2019, 2020 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -48,9 +48,7 @@ endif

ifneq (,$(findstring _cmprssptrs, $(SPEC)))
CONFIGURE_ARGS += \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT
--enable-OMR_GC_COMPRESSED_POINTERS
endif

ifneq (,$(findstring _cross, $(SPEC)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ ifeq (linux_x86-64_cmprssptrs, $(SPEC))
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_GC_TLH_PREFETCH_FTA \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand All @@ -55,8 +53,6 @@ ifeq (linux_x86-64_cmprssptrs_panama, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_GC_TLH_PREFETCH_FTA \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT \
--enable-OMR_JITBUILDER
Expand Down Expand Up @@ -118,8 +114,6 @@ ifeq (linux_x86-64_cmprssptrs_purec, $(SPEC))
--enable-OMR_ENV_LITTLE_ENDIAN \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_TLH_PREFETCH_FTA \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS \
--enable-OMR_PORT_NUMA_SUPPORT
endif
Expand Down
4 changes: 1 addition & 3 deletions runtime/gc_glue_java/configure_includes/configure_osx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ CONFIGURE_ARGS += \

ifeq (osx_x86-64_cmprssptrs, $(SPEC))
CONFIGURE_ARGS += \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT
--enable-OMR_GC_COMPRESSED_POINTERS
endif

CONFIGURE_ARGS += libprefix=lib exeext= solibext=.dylib arlibext=.a objext=.o
Expand Down
6 changes: 1 addition & 5 deletions runtime/gc_glue_java/configure_includes/configure_win_x86.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2016, 2019 IBM Corp. and others
# Copyright (c) 2016, 2020 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -36,8 +36,6 @@ ifeq (win_x86-64_cmprssptrs, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_TLH_PREFETCH_FTA \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_ALLOCATE_TOP_DOWN \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif
Expand All @@ -50,8 +48,6 @@ ifeq (win_x86-64_cmprssptrs_purec, $(SPEC))
--enable-OMR_ENV_LITTLE_ENDIAN \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_TLH_PREFETCH_FTA \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_ALLOCATE_TOP_DOWN \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###############################################################################
# Copyright (c) 2016, 2019 IBM Corp. and others
# Copyright (c) 2016, 2020 IBM Corp. and others
#
# This program and the accompanying materials are made available under
# the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -41,8 +41,6 @@ ifeq (zos_390-64_cmprssptrs, $(SPEC))
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_GC_CONCURRENT_SCAVENGER \
--enable-OMR_GC_IDLE_HEAP_MANAGER \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand All @@ -52,8 +50,6 @@ ifeq (zos_390-64_cmprssptrs_purec, $(SPEC))
--enable-OMR_ARCH_S390 \
--enable-OMR_ENV_DATA64 \
--enable-OMR_GC_COMPRESSED_POINTERS \
--enable-OMR_INTERP_COMPRESSED_OBJECT_HEADER \
--enable-OMR_INTERP_SMALL_MONITOR_SLOT \
--enable-OMR_PORT_CAN_RESERVE_SPECIFIC_ADDRESS
endif

Expand Down

0 comments on commit e84b6f0

Please sign in to comment.