diff mx/sanitycheck.py @ 17372:d42e11af980d

mx: simplified ctw command
author Doug Simon <doug.simon@oracle.com>
date Thu, 09 Oct 2014 00:20:30 +0200
parents 03eef43d364f
children 6df10903c955
line wrap: on
line diff
--- a/mx/sanitycheck.py	Thu Oct 09 00:20:19 2014 +0200
+++ b/mx/sanitycheck.py	Thu Oct 09 00:20:30 2014 +0200
@@ -264,7 +264,7 @@
     return tests
 
 class CTWMode:
-    Full, NoInline, NoComplex = range(3)
+    Full, NoInline = range(2)
 
 def getCTW(vm, mode):
     time = re.compile(r"CompileTheWorld : Done \([0-9]+ classes, [0-9]+ methods, (?P<time>[0-9]+) ms\)")
@@ -283,10 +283,7 @@
         if not mx_graal.isGraalEnabled(vm):
             args.append('-XX:-Inline')
         else:
-            args.append('-G:-Inline')
-    if mode >= CTWMode.NoComplex:
-        if mx_graal.isGraalEnabled(vm):
-            args += ['-G:-OptLoopTransform', '-G:-OptTailDuplication', '-G:-FullUnroll', '-G:-MemoryAwareScheduling', '-G:-NewMemoryAwareScheduling', '-G:-PartialEscapeAnalysis']
+            args.append('-G:CompileTheWordConfig=-Inline')
 
     return Test("CompileTheWorld", args, successREs=[time], scoreMatchers=[scoreMatcher], benchmarkCompilationRate=False)