changeset 52947:290b04fd1846

8214557: Filter out VM flags which don't affect AOT code generation Reviewed-by: kvn, erikj
author epavlova
date Fri, 30 Nov 2018 23:46:20 -0800
parents a051c5c8aa56
children a6ede2dabe20
files make/RunTests.gmk
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/RunTests.gmk	Fri Nov 30 14:48:44 2018 -0800
+++ b/make/RunTests.gmk	Fri Nov 30 23:46:20 2018 -0800
@@ -135,9 +135,11 @@
     $1_LD := $$(LD)
   endif
 
+  # Create jaotc flags.
+  # VM flags which don't affect AOT code generation are filtered out: -Xcomp, -XX:+-TieredCompilation
   $1_JAOTC_OPTS := \
       -J-Xmx4g --info \
-      $$(addprefix -J, $$($1_VM_OPTIONS)) \
+      $$(addprefix -J, $$(filter-out -Xcomp %TieredCompilation, $$($1_VM_OPTIONS))) \
       $$(addprefix --compile-commands$(SPACE), $$($1_AOT_CCLIST)) \
       --linker-path $$($1_LD) \
       #