Skip to content

Commit 54c2d9c

Browse files
authored
Merge pull request ibmruntimes#80 from keithc-ca/ddr-windows
Enable DDR by default on Windows
2 parents e3a70f8 + 83834ee commit 54c2d9c

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

common/autoconf/generated-configure.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,7 @@ fi
39123912
#CUSTOM_AUTOCONF_INCLUDE
39133913

39143914
# Do not change or remove the following line, it is needed for consistency checks:
3915-
DATE_WHEN_GENERATED=1521483882
3915+
DATE_WHEN_GENERATED=1525270078
39163916

39173917
###############################################################################
39183918
#

jdk/make/closed/autoconf/custom-hook.m4

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# ===========================================================================
22
# (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
33
# ===========================================================================
4-
#
54
# This code is free software; you can redistribute it and/or modify it
65
# under the terms of the GNU General Public License version 2 only, as
76
# published by the Free Software Foundation.
@@ -14,7 +13,6 @@
1413
#
1514
# You should have received a copy of the GNU General Public License version
1615
# 2 along with this work; if not, see <http://www.gnu.org/licenses/>.
17-
#
1816
# ===========================================================================
1917

2018
AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK],
@@ -104,7 +102,7 @@ AC_DEFUN([OPENJ9_CONFIGURE_DDR],
104102
OPENJ9_ENABLE_DDR=false
105103
elif test "x$enable_ddr" = x ; then
106104
case "$OPENJ9_PLATFORM_CODE" in
107-
xa64|xl64|xz64)
105+
wa64|xa64|xl64|xz64)
108106
AC_MSG_RESULT([yes (default for $OPENJ9_PLATFORM_CODE)])
109107
OPENJ9_ENABLE_DDR=true
110108
;;
@@ -146,12 +144,12 @@ AC_DEFUN_ONCE([OPENJ9_PLATFORM_SETUP],
146144
[
147145
AC_ARG_WITH(noncompressedrefs, [AS_HELP_STRING([--with-noncompressedrefs],
148146
[build non-compressedrefs vm (large heap)])])
149-
147+
150148
OPENJ9_PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
151149
if test "x$with_noncompressedrefs" = x; then
152150
OPENJ9_BUILDSPEC="${OPENJDK_BUILD_OS}_${OPENJ9_CPU}_cmprssptrs"
153151
OPENJ9_LIBS_SUBDIR=compressedrefs
154-
else
152+
else
155153
OPENJ9_BUILDSPEC="${OPENJDK_BUILD_OS}_${OPENJ9_CPU}"
156154
OPENJ9_LIBS_SUBDIR=default
157155
fi
@@ -299,7 +297,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL],
299297
METHOD="$2"
300298
if test -e "$POSSIBLE_MSVCP_DLL"; then
301299
AC_MSG_NOTICE([Found msvcp100.dll at $POSSIBLE_MSVCP_DLL using $METHOD])
302-
300+
303301
# Need to check if the found msvcp is correct architecture
304302
AC_MSG_CHECKING([found msvcp100.dll architecture])
305303
MSVCP_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVCP_DLL"`
@@ -332,7 +330,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
332330
AC_MSG_ERROR([Could not find a proper msvcp100.dll as specified by --with-msvcp-dll])
333331
fi
334332
fi
335-
333+
336334
if test "x$MSVCP_DLL" = x; then
337335
# Probe: Using well-known location from Visual Studio 10.0
338336
if test "x$VCINSTALLDIR" != x; then
@@ -352,9 +350,9 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
352350
POSSIBLE_MSVCP_DLL="$BOOT_JDK/bin/msvcp100.dll"
353351
TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL([$POSSIBLE_MSVCP_DLL], [well-known location in Boot JDK])
354352
fi
355-
353+
356354
if test "x$MSVCP_DLL" = x; then
357-
# Probe: Look in the Windows system32 directory
355+
# Probe: Look in the Windows system32 directory
358356
CYGWIN_SYSTEMROOT="$SYSTEMROOT"
359357
BASIC_WINDOWS_REWRITE_AS_UNIX_PATH(CYGWIN_SYSTEMROOT)
360358
POSSIBLE_MSVCP_DLL="$CYGWIN_SYSTEMROOT/system32/msvcp100.dll"
@@ -374,7 +372,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
374372
TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL([$POSSIBLE_MSVCP_DLL], [search of VS100COMNTOOLS])
375373
fi
376374
fi
377-
375+
378376
if test "x$MSVCP_DLL" = x; then
379377
# Probe: Search wildly in the VCINSTALLDIR. We've probably lost by now.
380378
# (This was the original behaviour; kept since it might turn up something)
@@ -388,11 +386,11 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVCP_DLL],
388386
POSSIBLE_MSVCP_DLL=`$FIND "$CYGWIN_VC_INSTALL_DIR" -name msvcp100.dll | $HEAD --lines 1`
389387
fi
390388
fi
391-
389+
392390
TOOLCHAIN_CHECK_POSSIBLE_MSVCP_DLL([$POSSIBLE_MSVCP_DLL], [search of VCINSTALLDIR])
393391
fi
394392
fi
395-
393+
396394
if test "x$MSVCP_DLL" = x; then
397395
AC_MSG_CHECKING([for msvcp100.dll])
398396
AC_MSG_RESULT([no])

jdk/make/closed/autoconf/generated-configure.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -3946,7 +3946,6 @@ fi
39463946
# ===========================================================================
39473947
# (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
39483948
# ===========================================================================
3949-
#
39503949
# This code is free software; you can redistribute it and/or modify it
39513950
# under the terms of the GNU General Public License version 2 only, as
39523951
# published by the Free Software Foundation.
@@ -3959,7 +3958,6 @@ fi
39593958
#
39603959
# You should have received a copy of the GNU General Public License version
39613960
# 2 along with this work; if not, see <http://www.gnu.org/licenses/>.
3962-
#
39633961
# ===========================================================================
39643962

39653963

@@ -3984,7 +3982,7 @@ fi
39843982

39853983

39863984
# Do not change or remove the following line, it is needed for consistency checks:
3987-
DATE_WHEN_GENERATED=1525094851
3985+
DATE_WHEN_GENERATED=1525270078
39883986

39893987
###############################################################################
39903988
#
@@ -8676,7 +8674,7 @@ $as_echo "no (explicitly disabled)" >&6; }
86768674
OPENJ9_ENABLE_DDR=false
86778675
elif test "x$enable_ddr" = x ; then
86788676
case "$OPENJ9_PLATFORM_CODE" in
8679-
xa64|xl64|xz64)
8677+
wa64|xa64|xl64|xz64)
86808678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default for $OPENJ9_PLATFORM_CODE)" >&5
86818679
$as_echo "yes (default for $OPENJ9_PLATFORM_CODE)" >&6; }
86828680
OPENJ9_ENABLE_DDR=true

0 commit comments

Comments
 (0)