@@ -507,9 +507,6 @@ AC_DEFUN([OPENJ9_PLATFORM_SETUP],
507
507
AC_ARG_WITH ( noncompressedrefs , [ AS_HELP_STRING ( [ --with-noncompressedrefs] ,
508
508
[ build non-compressedrefs vm (large heap)] ) ] )
509
509
510
- AC_ARG_WITH ( mixedrefs , [ AS_HELP_STRING ( [ --with-mixedrefs] ,
511
- [ build mixedrefs vm (--with-mixedrefs=static or --with-mixedrefs=dynamic)] ) ] )
512
-
513
510
# When compiling natively host_cpu and build_cpu are the same. But when
514
511
# cross compiling we need to work with the host_cpu (which is where the final
515
512
# JVM will run).
@@ -518,23 +515,16 @@ AC_DEFUN([OPENJ9_PLATFORM_SETUP],
518
515
# Default OPENJ9_BUILD_OS=OPENJDK_BUILD_OS, but override with OpenJ9 equivalent as appropriate
519
516
OPENJ9_BUILD_OS="${OPENJDK_BUILD_OS}"
520
517
521
- if test "x$with_noncompressedrefs" = xyes -o "x$with_mixedrefs" = xno -o "x$COMPILE_TYPE" = xcross ; then
518
+ if test "x$with_noncompressedrefs" = xyes ; then
522
519
OMR_MIXED_REFERENCES_MODE=off
523
- if test "x$with_noncompressedrefs" = xyes ; then
524
- OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}"
525
- OPENJ9_LIBS_SUBDIR=default
526
- else
527
- OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}_cmprssptrs"
528
- OPENJ9_LIBS_SUBDIR=compressedrefs
529
- fi
520
+ OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}"
521
+ OPENJ9_LIBS_SUBDIR=default
522
+ elif test "x$with_noncompressedrefs" = xno -o "x$COMPILE_TYPE" = xcross ; then
523
+ OMR_MIXED_REFERENCES_MODE=off
524
+ OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}_cmprssptrs"
525
+ OPENJ9_LIBS_SUBDIR=compressedrefs
530
526
else
531
- if test "x$with_mixedrefs" = x -o "x$with_mixedrefs" = xyes -o "x$with_mixedrefs" = xstatic ; then
532
- OMR_MIXED_REFERENCES_MODE=static
533
- elif test "x$with_mixedrefs" = xdynamic ; then
534
- OMR_MIXED_REFERENCES_MODE=dynamic
535
- else
536
- AC_MSG_ERROR ( [ OpenJ9 supports --with-mixedrefs=static and --with-mixedrefs=dynamic] )
537
- fi
527
+ OMR_MIXED_REFERENCES_MODE=static
538
528
OPENJ9_BUILD_MODE_ARCH="${OPENJ9_CPU}_mxdptrs"
539
529
OPENJ9_LIBS_SUBDIR=default
540
530
fi
0 commit comments