@@ -105,6 +105,7 @@ set(OMR_TOOLS_USE_NATIVE_ENCODING ON CACHE BOOL
105
105
###
106
106
107
107
set (OMR_GC_LIB "omrgc" CACHE STRING "Name of the GC library to use" )
108
+ set (OMR_GC_FULL_LIB "omrgc_full" CACHE STRING "Name of the Full References GC library to use for Mixed References Mode" )
108
109
set (OMR_HOOK_LIB "j9hookstatic" CACHE STRING "Name of the hook library to link against" )
109
110
set (OMR_PORT_LIB "omrport" CACHE STRING "Name of the port library to link against" )
110
111
set (OMR_THREAD_LIB "j9thrstatic" CACHE STRING "Name of the thread library to link against" )
@@ -115,6 +116,7 @@ set(OMR_TRACE_LIB "omrtrace" CACHE STRING "Name of the trace library to link aga
115
116
###
116
117
117
118
set (OMR_GC_GLUE_TARGET "NOTFOUND" CACHE STRING "The gc glue target, must be interface library" )
119
+ set (OMR_GC_GLUE_FULL_TARGET "NOTFOUND" CACHE STRING "The gc glue full target, must be interface library" )
118
120
set (OMR_UTIL_GLUE_TARGET "NOTFOUND" CACHE STRING "The util glue target, must be interface library" )
119
121
set (OMR_RAS_GLUE_TARGET "NOTFOUND" CACHE STRING "The ras glue target, must be interface library" )
120
122
set (OMR_CORE_GLUE_TARGET "NOTFOUND" CACHE STRING "The core glue target, must be and interface library" )
@@ -161,14 +163,21 @@ set_property(CACHE OMR_GC_POINTER_MODE PROPERTY STRINGS "full" "compressed" "mix
161
163
if (OMR_GC_POINTER_MODE STREQUAL "full" )
162
164
set (OMR_GC_COMPRESSED_POINTERS OFF CACHE INTERNAL "" )
163
165
set (OMR_GC_FULL_POINTERS ON CACHE INTERNAL "" )
166
+ set (OMR_MIXED_REFERENCES_MODE_STATIC OFF CACHE INTERNAL "" )
164
167
elseif (OMR_GC_POINTER_MODE STREQUAL "compressed" )
165
168
omr_assert(FATAL_ERROR TEST NOT OMR_ENV_DATA32 MESSAGE "OMR_GC_POINTER_MODE must be \" full\" on 32 bit platforms" )
166
169
set (OMR_GC_COMPRESSED_POINTERS ON CACHE INTERNAL "" )
167
170
set (OMR_GC_FULL_POINTERS OFF CACHE INTERNAL "" )
171
+ set (OMR_MIXED_REFERENCES_MODE_STATIC OFF CACHE INTERNAL "" )
168
172
elseif (OMR_GC_POINTER_MODE STREQUAL "mixed" )
169
173
omr_assert(FATAL_ERROR TEST NOT OMR_ENV_DATA32 MESSAGE "OMR_GC_POINTER_MODE must be \" full\" on 32 bit platforms" )
170
174
set (OMR_GC_COMPRESSED_POINTERS ON CACHE INTERNAL "" )
171
175
set (OMR_GC_FULL_POINTERS ON CACHE INTERNAL "" )
176
+ if (OMR_MIXED_REFERENCES_MODE STREQUAL "static" )
177
+ set (OMR_MIXED_REFERENCES_MODE_STATIC ON CACHE INTERNAL "" )
178
+ else ()
179
+ set (OMR_MIXED_REFERENCES_MODE_STATIC OFF CACHE INTERNAL "" )
180
+ endif ()
172
181
else ()
173
182
message (FATAL_ERROR "OMR_GC_FULL_POINTERS must be set to one of \" full\" , \" compressed\" , or \" mixed\" " )
174
183
endif ()
0 commit comments