Mercurial > hg > graal-compiler
comparison mx/commands.py @ 12042:fbe1ee508936
added ability to suppress duplicate lines on an output stream and used it to filter the GC verification log messages in the gate
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 10 Oct 2013 18:07:20 +0200 |
parents | 4cdf7623fbe6 |
children | e800bf0c230c |
comparison
equal
deleted
inserted
replaced
11959:23ccaa863eda | 12042:fbe1ee508936 |
---|---|
949 vm(['-esa', '-version']) | 949 vm(['-esa', '-version']) |
950 tasks.append(t.stop()) | 950 tasks.append(t.stop()) |
951 | 951 |
952 with VM('graal', 'product'): | 952 with VM('graal', 'product'): |
953 t = Task('BootstrapWithGCVerification:product') | 953 t = Task('BootstrapWithGCVerification:product') |
954 vm(['-XX:+UnlockDiagnosticVMOptions', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version']) | 954 out = mx.DuplicateSuppressingStream(['VerifyAfterGC:', 'VerifyBeforeGC:']).write |
955 vm(['-XX:+UnlockDiagnosticVMOptions', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version'], out=out) | |
955 tasks.append(t.stop()) | 956 tasks.append(t.stop()) |
956 | 957 |
957 with VM('graal', 'product'): | 958 with VM('graal', 'product'): |
958 t = Task('BootstrapWithG1GCVerification:product') | 959 t = Task('BootstrapWithG1GCVerification:product') |
959 vm(['-XX:+UnlockDiagnosticVMOptions', '-XX:-UseSerialGC', '-XX:+UseG1GC', '-XX:+UseNewCode', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version']) | 960 out = mx.DuplicateSuppressingStream(['VerifyAfterGC:', 'VerifyBeforeGC:']).write |
961 vm(['-XX:+UnlockDiagnosticVMOptions', '-XX:-UseSerialGC', '-XX:+UseG1GC', '-XX:+UseNewCode', '-XX:+VerifyBeforeGC', '-XX:+VerifyAfterGC', '-version'], out=out) | |
960 tasks.append(t.stop()) | 962 tasks.append(t.stop()) |
961 | 963 |
962 with VM('graal', 'product'): | 964 with VM('graal', 'product'): |
963 t = Task('BootstrapWithRegisterPressure:product') | 965 t = Task('BootstrapWithRegisterPressure:product') |
964 vm(['-G:RegisterPressure=rbx,r11,r10,r14,xmm3,xmm11,xmm14', '-esa', '-version']) | 966 vm(['-G:RegisterPressure=rbx,r11,r10,r14,xmm3,xmm11,xmm14', '-esa', '-version']) |