changeset 2402:474b01bedbd0

Make JamVM ignore 29 more unrecognised options that fail on jtreg. 2011-03-02 Xerxes Ranby <xerxes@zafena.se> * patches/jamvm/ignore-more-XX-options.patch: Make JamVM ignore more unrecognised options that fail on jtreg. -esa, -Xbatch, -Xcomp, -Xverify:all, -XX:+AggressiveOpts, -XX:-BlockLayoutRotateLoops, -XX:CompileCommand=, -XX:CompileOnly=, -XX:CompileThreshold, -XX:+DeoptimizeALot, -XX:+DoEscapeAnalysis, -XX:HeapBaseMinAddress, -XX:+IgnoreUnrecognizedVMOptions, -XX:-Inline, -XX:-InlineObjectHash, -XX:InlineSmallCode=, -XX:LoopUnrollLimit=, -XX:-LoopUnswitching, -XX:MaxInlineSize=, -XX:+OptimizeFill, -XX:+PrintCompilation, -XX:-ProfileInterpreter, -XX:+ScavengeALot, -XX:+UnlockDiagnosticVMOptions, -XX:-UseCompressedOops, -XX:+UseCompressedOops, -XX:+UseConcMarkSweepGC, -XX:UseSSE= and -XX:+VerifyBeforeGC
author Xerxes R?nby <xerxes@zafena.se>
date Wed, 02 Mar 2011 23:28:59 +0100
parents 7fa3d3774850
children d8aa2906143e
files ChangeLog patches/jamvm/ignore-more-XX-options.patch
diffstat 2 files changed, 46 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 19 23:36:26 2011 +0100
+++ b/ChangeLog	Wed Mar 02 23:28:59 2011 +0100
@@ -1,8 +1,23 @@
+2011-03-02  Xerxes Ranby  <xerxes@zafena.se>
+
+	* patches/jamvm/ignore-more-XX-options.patch:
+	Make JamVM ignore more unrecognised options that fail on jtreg.
+	-esa, -Xbatch, -Xcomp, -Xverify:all, -XX:+AggressiveOpts,
+	-XX:-BlockLayoutRotateLoops, -XX:CompileCommand=, -XX:CompileOnly=,
+	-XX:CompileThreshold, -XX:+DeoptimizeALot, -XX:+DoEscapeAnalysis,
+	-XX:HeapBaseMinAddress, -XX:+IgnoreUnrecognizedVMOptions, -XX:-Inline,
+	-XX:-InlineObjectHash, -XX:InlineSmallCode=, -XX:LoopUnrollLimit=,
+	-XX:-LoopUnswitching, -XX:MaxInlineSize=, -XX:+OptimizeFill,
+	-XX:+PrintCompilation, -XX:-ProfileInterpreter, -XX:+ScavengeALot,
+	-XX:+UnlockDiagnosticVMOptions, -XX:-UseCompressedOops,
+	-XX:+UseCompressedOops, -XX:+UseConcMarkSweepGC, -XX:UseSSE= and
+	-XX:+VerifyBeforeGC
+
 2011-02-27  Xerxes Ranby  <xerxes@zafena.se>
 
 	JamVM: Fix configure --enable-jamvm full bootstrap build.
 	* NEWS: Updated.
-	* Makefile.am: 
+	* Makefile.am:
 	(JAMVM_VERSION): Updated to latest JamVM revision.
 	(JAMVM_SHA256SUM): Updated.
 
--- a/patches/jamvm/ignore-more-XX-options.patch	Thu May 19 23:36:26 2011 +0100
+++ b/patches/jamvm/ignore-more-XX-options.patch	Wed Mar 02 23:28:59 2011 +0100
@@ -2,11 +2,40 @@
 ===================================================================
 --- jamvm/jamvm.orig/src/jni.c	2011-02-23 09:54:17.000000000 +0100
 +++ jamvm/jamvm/src/jni.c	2011-02-23 09:58:21.000000000 +0100
-@@ -1638,6 +1638,7 @@
+@@ -1638,6 +1638,36 @@
  #endif
          /* Compatibility options */
          } else if(strncmp(string, "-XX:PermSize=", 13) == 0 ||
++                  strncmp(string, "-esa", 4) == 0 ||
++                  strncmp(string, "-Xbatch", 7) == 0 ||
++                  strncmp(string, "-Xcomp", 6) == 0 ||
++                  strncmp(string, "-Xverify:all", 12) == 0 ||
++                  strncmp(string, "-XX:+AggressiveOpts", 19) == 0 ||
++                  strncmp(string, "-XX:-BlockLayoutRotateLoops", 27) == 0 ||
++                  strncmp(string, "-XX:CompileCommand=", 19) == 0 ||
++                  strncmp(string, "-XX:CompileOnly=", 16) == 0 ||
++                  strncmp(string, "-XX:CompileThreshold=", 21) == 0 ||
++                  strncmp(string, "-XX:+DeoptimizeALot", 19) == 0 ||
++                  strncmp(string, "-XX:+DoEscapeAnalysis", 21) == 0 ||
++                  strncmp(string, "-XX:HeapBaseMinAddress=", 23) == 0 ||
++                  strncmp(string, "-XX:+IgnoreUnrecognizedVMOptions", 32) == 0 ||
++                  strncmp(string, "-XX:-Inline", 11) == 0 ||
++                  strncmp(string, "-XX:-InlineObjectHash", 21) == 0 ||
++                  strncmp(string, "-XX:InlineSmallCode=", 20) == 0 ||
++                  strncmp(string, "-XX:LoopUnrollLimit=", 20) == 0 ||
++                  strncmp(string, "-XX:-LoopUnswitching", 20) == 0 ||
++                  strncmp(string, "-XX:MaxInlineSize=", 18) == 0 ||
++                  strncmp(string, "-XX:+OptimizeFill", 17) == 0 ||
++                  strncmp(string, "-XX:+PrintCompilation", 21) == 0 ||
++                  strncmp(string, "-XX:-ProfileInterpreter", 23) == 0 ||
++                  strncmp(string, "-XX:+ScavengeALot", 17) == 0 ||
 +                  strncmp(string, "-XX:ThreadStackSize=", 20) == 0 ||
++                  strncmp(string, "-XX:+UnlockDiagnosticVMOptions", 30) == 0 ||
++                  strncmp(string, "-XX:-UseCompressedOops", 22) == 0 ||
++                  strncmp(string, "-XX:+UseCompressedOops", 22) == 0 ||
++                  strncmp(string, "-XX:+UseConcMarkSweepGC", 23) == 0 ||
++                  strncmp(string, "-XX:UseSSE=", 11) == 0 ||
++                  strncmp(string, "-XX:+VerifyBeforeGC", 19) == 0 ||
                    strncmp(string, "-XX:MaxPermSize=", 16) == 0) {
              /* Ignore */
          } else if(!vm_args->ignoreUnrecognized) {