@@ -484,9 +484,6 @@ AC_DEFUN([OPENJ9_PLATFORM_SETUP],
484
484
AC_ARG_WITH ( noncompressedrefs , [ AS_HELP_STRING ( [ --with-noncompressedrefs] ,
485
485
[ build non-compressedrefs vm (large heap)] ) ] )
486
486
487
- AC_ARG_WITH ( mixedrefs , [ AS_HELP_STRING ( [ --with-mixedrefs] ,
488
- [ build mixedrefs vm (--with-mixedrefs=static or --with-mixedrefs=dynamic)] ) ] )
489
-
490
487
# When compiling natively host_cpu and build_cpu are the same. But when
491
488
# cross compiling we need to work with the host_cpu (which is where the final
492
489
# JVM will run).
@@ -495,23 +492,16 @@ AC_DEFUN([OPENJ9_PLATFORM_SETUP],
495
492
# Default OPENJ9_BUILD_OS=OPENJDK_BUILD_OS, but override with OpenJ9 equivalent as appropriate
496
493
OPENJ9_BUILD_OS="${OPENJDK_BUILD_OS}"
497
494
498
- if test "x$with_noncompressedrefs" = xyes -o "x$with_mixedrefs" = xno -o "x$COMPILE_TYPE" = xcross ; then
495
+ if test "x$with_noncompressedrefs" = xyes ; then
499
496
OMR_MIXED_REFERENCES_MODE=off
500
- if test "x$with_noncompressedrefs" = xyes ; then
501
- OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}"
502
- OPENJ9_LIBS_SUBDIR=default
503
- else
504
- OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}_cmprssptrs"
505
- OPENJ9_LIBS_SUBDIR=compressedrefs
506
- fi
497
+ OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}"
498
+ OPENJ9_LIBS_SUBDIR=default
499
+ elif test "x$with_noncompressedrefs" = xno -o "x$COMPILE_TYPE" = xcross ; then
500
+ OMR_MIXED_REFERENCES_MODE=off
501
+ OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}_cmprssptrs"
502
+ OPENJ9_LIBS_SUBDIR=compressedrefs
507
503
else
508
- if test "x$with_mixedrefs" = x -o "x$with_mixedrefs" = xyes -o "x$with_mixedrefs" = xstatic ; then
509
- OMR_MIXED_REFERENCES_MODE=static
510
- elif test "x$with_mixedrefs" = xdynamic ; then
511
- OMR_MIXED_REFERENCES_MODE=dynamic
512
- else
513
- AC_MSG_ERROR ( [ OpenJ9 supports --with-mixedrefs=static and --with-mixedrefs=dynamic] )
514
- fi
504
+ OMR_MIXED_REFERENCES_MODE=static
515
505
OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}_mxdptrs"
516
506
OPENJ9_LIBS_SUBDIR=default
517
507
fi
0 commit comments