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