comparison mx.graal/mx_graal.py @ 22148:102c41a0516c

mx: run NonSSA unittests and bootstrap in the gate.
author Josef Eisl <josef.eisl@jku.at>
date Mon, 06 Jul 2015 11:25:38 +0200
parents 32434ca987d7
children b8c1c277a6ef
comparison
equal deleted inserted replaced
22147:32434ca987d7 22148:102c41a0516c
1332 # Run unit tests on server-hosted-jvmci 1332 # Run unit tests on server-hosted-jvmci
1333 with VM('server', 'product'): 1333 with VM('server', 'product'):
1334 with Task('UnitTests:hosted-product', tasks) as t: 1334 with Task('UnitTests:hosted-product', tasks) as t:
1335 if t: unittest(['--enable-timing', '--verbose', '--fail-fast']) 1335 if t: unittest(['--enable-timing', '--verbose', '--fail-fast'])
1336 1336
1337 # Run unit tests on server-hosted-jvmci with -G:+SSA_LIR 1337 # Run unit tests on server-hosted-jvmci with -G:-SSA_LIR
1338 with VM('server', 'product'): 1338 with VM('server', 'product'):
1339 with Task('UnitTestsSSA:hosted-product', tasks) as t: 1339 with Task('UnitTestsNonSSA:hosted-product', tasks) as t:
1340 if t: unittest(['--enable-timing', '--verbose', '--fail-fast', '-G:+SSA_LIR']) 1340 if t: unittest(['--enable-timing', '--verbose', '--fail-fast', '-G:-SSA_LIR'])
1341 # Run ctw against rt.jar on server-hosted-jvmci 1341 # Run ctw against rt.jar on server-hosted-jvmci
1342 with VM('server', 'product'): 1342 with VM('server', 'product'):
1343 with Task('CTW:hosted-product', tasks) as t: 1343 with Task('CTW:hosted-product', tasks) as t:
1344 if t: ctw(['--ctwopts', '-Inline +ExitVMOnException', '-esa', '-G:+CompileTheWorldMultiThreaded', '-G:-InlineDuringParsing', '-G:-CompileTheWorldVerbose']) 1344 if t: ctw(['--ctwopts', '-Inline +ExitVMOnException', '-esa', '-G:+CompileTheWorldMultiThreaded', '-G:-InlineDuringParsing', '-G:-CompileTheWorldVerbose'])
1345 1345
1380 if t: 1380 if t:
1381 registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if platform.processor() == 'sparc' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14' 1381 registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if platform.processor() == 'sparc' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14'
1382 vm(['-XX:-TieredCompilation', '-G:RegisterPressure=' + registers, '-esa', '-version']) 1382 vm(['-XX:-TieredCompilation', '-G:RegisterPressure=' + registers, '-esa', '-version'])
1383 1383
1384 with VM('jvmci', 'product'): 1384 with VM('jvmci', 'product'):
1385 with Task('BootstrapSSAWithRegisterPressure:product', tasks) as t: 1385 with Task('BootstrapNonSSAWithRegisterPressure:product', tasks) as t:
1386 if t: 1386 if t:
1387 registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if platform.processor() == 'sparc' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14' 1387 registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if platform.processor() == 'sparc' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14'
1388 vm(['-XX:-TieredCompilation', '-G:+SSA_LIR', '-G:RegisterPressure=' + registers, '-esa', '-version']) 1388 vm(['-XX:-TieredCompilation', '-G:-SSA_LIR', '-G:RegisterPressure=' + registers, '-esa', '-version'])
1389 1389
1390 with VM('jvmci', 'product'): 1390 with VM('jvmci', 'product'):
1391 with Task('BootstrapWithImmutableCode:product', tasks) as t: 1391 with Task('BootstrapWithImmutableCode:product', tasks) as t:
1392 if t: vm(['-XX:-TieredCompilation', '-G:+ImmutableCode', '-G:+VerifyPhases', '-esa', '-version']) 1392 if t: vm(['-XX:-TieredCompilation', '-G:+ImmutableCode', '-G:+VerifyPhases', '-esa', '-version'])
1393 1393