mx gate fail

Doug Simon doug.simon at oracle.com
Tue Jun 3 20:13:59 UTC 2014


I’ll push a fix for this.

On Jun 3, 2014, at 9:21 PM, Doug Simon <doug.simon at oracle.com> wrote:

> I think the problematic code is this:
> 
>    public AMD64ArrayEqualsOp(LIRGeneratorTool tool, Kind kind, Value result, Value array1, Value array2, Value length) {
> 
>        ...
> 
>        // We only need the vector temporaries if we generate SSE code.
>        if (supportsSSE41(tool.target())) {
>            this.vectorTemp1 = tool.newVariable(Kind.Double);
>            this.vectorTemp2 = tool.newVariable(Kind.Double);
>        }
>    }
> 
> I’m guessing you are on a machine that does not support SSE4.1.
> 
> -Doug
> 
> On Jun 3, 2014, at 7:06 PM, Deneau, Tom <tom.deneau at amd.com> wrote:
> 
>> Doug --
>> 
>> It reproduces on default tip.
>> I am using jdk8-b132.
>> 
>> -- Tom
>> 
>> 
>>> -----Original Message-----
>>> From: Doug Simon [mailto:doug.simon at oracle.com]
>>> Sent: Tuesday, June 03, 2014 10:53 AM
>>> To: Deneau, Tom
>>> Cc: Gilles Duboscq; graal-dev at openjdk.java.net
>>> Subject: Re: mx gate fail
>>> 
>>> Strange - that kind of thing should be caught in the gate. Can you
>>> reproduce it reliably?
>>> 
>>> -Doug
>>> 
>>> On Jun 3, 2014, at 4:33 PM, Deneau, Tom <tom.deneau at amd.com> wrote:
>>> 
>>>> OK using oracle jdk8 release now,
>>>> I get this error
>>>> 
>>>> gate: 03 Jun 2014 09:10:17: END:   BuildHotSpotGraal:
>>> fastdebug,product [0:13:14.736611]
>>>> gate: 03 Jun 2014 09:10:17: BEGIN:
>>>> BootstrapWithSystemAssertions:fastdebug
>>>> Bootstrapping Graal[thread:8] scope:
>>>> [thread:8] scope: Compiling
>>>>  [thread:8] scope: Compiling.GraalCompiler
>>>>    [thread:8] scope: Compiling.GraalCompiler.BackEnd
>>>>      [thread:8] scope: Compiling.GraalCompiler.BackEnd.LIRGen
>>>>        [thread:8] scope:
>>> Compiling.GraalCompiler.BackEnd.LIRGen.InterceptException
>>>>        Exception occurred in scope:
>>> Compiling.GraalCompiler.BackEnd.LIRGen.InterceptException
>>>>        Context obj com.oracle.graal.graph.GraalGraphInternalError:
>>> java.lang.AssertionError
>>>> 	at node: 26|ArrayEquals
>>>>        Context obj
>>> com.oracle.graal.hotspot.amd64.AMD64HotSpotLIRGenerator at 434fb9bb
>>>>        Context obj com.oracle.graal.lir.LIR at 464c71b3
>>>>        Use -G:+DumpOnError to enable dumping of graphs on this error
>>>>        Context obj
>>> StructuredGraph:123{HotSpotMethod<StringSubstitutions.equals(String,
>>> Object)>}
>>>>        Use -G:+DumpOnError to enable dumping of graphs on this error
>>>>        Context obj
>>> com.oracle.graal.hotspot.amd64.AMD64HotSpotCodeCacheProvider at bce7fd0
>>>>        Context obj DebugDumpScope[53]
>>>> com.oracle.graal.graph.GraalGraphInternalError:
>>> java.lang.AssertionError
>>>> 	at node: 26|ArrayEquals
>>>> 	at
>>> com.oracle.graal.compiler.gen.NodeLIRBuilder.doBlock(NodeLIRBuilder.java
>>> :268)
>>>> 	at
>>> com.oracle.graal.compiler.GraalCompiler.emitBlock(GraalCompiler.java:216
>>> )
>>>> 	at
>>> com.oracle.graal.compiler.GraalCompiler.emitLIR(GraalCompiler.java:250)
>>>> 	at
>>> com.oracle.graal.compiler.GraalCompiler.emitBackEnd(GraalCompiler.java:1
>>> 98)
>>>> 	at
>>> com.oracle.graal.compiler.GraalCompiler.compileGraph(GraalCompiler.java:
>>> 141)
>>>> 	at
>>> com.oracle.graal.hotspot.CompilationTask.runCompilation(CompilationTask.
>>> java:332)
>>>> 	at
>>> com.oracle.graal.hotspot.CompilationTask.run(CompilationTask.java:176)
>>>> 	at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
>>> a:1142)
>>>> 	at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
>>> va:617)
>>>> 	at java.lang.Thread.run(Thread.java:744)
>>>> 	at
>>>> com.oracle.graal.compiler.CompilerThread.run(CompilerThread.java:48)
>>>> Caused by: java.lang.AssertionError
>>>> 	at
>>> com.oracle.graal.lir.LIRValueUtil.isVariable(LIRValueUtil.java:30)
>>>> 	at com.oracle.graal.lir.LIRVerifier.allowed(LIRVerifier.java:237)
>>>> 	at
>>> com.oracle.graal.lir.LIRVerifier.access$000(LIRVerifier.java:39)
>>>> 	at
>>> com.oracle.graal.lir.LIRVerifier$1.doValue(LIRVerifier.java:70)
>>>> 	at
>>> com.oracle.graal.lir.LIRIntrospection.forEach(LIRIntrospection.java:132)
>>>> 	at
>>> com.oracle.graal.lir.LIRInstructionClass.forEachTemp(LIRInstructionClass
>>> .java:274)
>>>> 	at
>>> com.oracle.graal.lir.LIRInstruction.forEachTemp(LIRInstruction.java:267)
>>>> 	at com.oracle.graal.lir.LIRVerifier.verify(LIRVerifier.java:77)
>>>> 	at
>>> com.oracle.graal.lir.gen.LIRGenerator.append(LIRGenerator.java:265)
>>>> 	at
>>> com.oracle.graal.hotspot.amd64.AMD64HotSpotLIRGenerator.append(AMD64HotS
>>> potLIRGenerator.java:127)
>>>> 	at
>>> com.oracle.graal.compiler.amd64.AMD64LIRGenerator.emitArrayEquals(AMD64L
>>> IRGenerator.java:1065)
>>>> 	at
>>> com.oracle.graal.compiler.gen.NodeLIRBuilder.emitArrayEquals(NodeLIRBuil
>>> der.java:651)
>>>> 	at
>>> com.oracle.graal.replacements.nodes.ArrayEqualsNode.generate(ArrayEquals
>>> Node.java:134)
>>>> 	at
>>> com.oracle.graal.compiler.gen.NodeLIRBuilder.emitNode(NodeLIRBuilder.jav
>>> a:358)
>>>> 	at
>>> com.oracle.graal.compiler.gen.NodeLIRBuilder.doRoot(NodeLIRBuilder.java:
>>> 349)
>>>> 	at
>>> com.oracle.graal.compiler.gen.NodeLIRBuilder.doBlock(NodeLIRBuilder.java
>>> :264)
>>>> 	... 10 more
>>>> Traceback (most recent call last):
>>>> File "/home/tom/graal/mx/mx_graal.py", line 1341, in gate
>>>>  gate_body(args, tasks)
>>>> File "/home/tom/graal/mx/mx_graal.py", line 1179, in _basic_gate_body
>>>>  vm(['-esa', '-XX:-TieredCompilation', '-version'])  File
>>>> "/home/tom/graal/mx/mx_graal.py", line 890, in vm
>>>>  return mx.run(pfx_ + [exe_, '-' + vm_] + args_,
>>>> nonZeroIsFatal=nonZeroIsFatal, out=out, err=err, cwd=cwd,
>>> timeout=timeout)  File "/home/tom/graal/mxtool/mx.py", line 1555, in run
>>>>  abort(retcode)
>>>> File "/home/tom/graal/mxtool/mx.py", line 1877, in abort
>>>>  raise SystemExit(codeOrMessage)
>>>> SystemExit: 255
>>>> gate: 03 Jun 2014 09:10:36: ABORT: Gate [0:16:27.012194]
>>>> 
>>>> 
>>>>> -----Original Message-----
>>>>> From: Doug Simon [mailto:doug.simon at oracle.com]
>>>>> Sent: Tuesday, June 03, 2014 9:02 AM
>>>>> To: Deneau, Tom
>>>>> Cc: Gilles Duboscq; graal-dev at openjdk.java.net
>>>>> Subject: Re: mx gate fail
>>>>> 
>>>>> 
>>>>> On Jun 3, 2014, at 3:55 PM, Deneau, Tom <tom.deneau at amd.com> wrote:
>>>>> 
>>>>>> Gilles --
>>>>>> 
>>>>>> Hmm, I was building with a JDK built from the sumatra-dev project,
>>>>> which is only a slight modification of Java 8.
>>>>>> Are you saying this depends on libraries that cannot be build from
>>>>>> the
>>>>> openjdk?
>>>>> 
>>>>> Yes. The Java Flight Recorder library is not part of OpenJDK, only
>>>>> Oracle JDK.
>>>>> 
>>>>> I'll make this work with the project canonicalizer.
>>>>> 
>>>>> -Doug
>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: gilwooden at gmail.com [mailto:gilwooden at gmail.com] On Behalf Of
>>>>>>> Gilles Duboscq
>>>>>>> Sent: Tuesday, June 03, 2014 8:52 AM
>>>>>>> To: Deneau, Tom
>>>>>>> Cc: graal-dev at openjdk.java.net
>>>>>>> Subject: Re: mx gate fail
>>>>>>> 
>>>>>>> On Tue, Jun 3, 2014 at 3:31 PM, Tom Deneau <tom.deneau at amd.com>
>>>>> wrote:
>>>>>>>> Running mx gate, I get the following failure.
>>>>>>>> Strange because I do see the com.oracle.graal.hotspot.jfr
>>> directory.
>>>>>>> 
>>>>>>> The project is probably "hidden" because you're not building from
>>>>>>> an Oracle JDK: this project depends on JDK libraries that are only
>>>>>>> found in Oracle JDKs. When these libraries are not present the
>>>>>>> project is "hidden" so that it doesn't get in the way but it seems
>>>>>>> it doesn't hide so well from the project canonicalizer.
>>>>>>> 
>>>>>>> -Gilles
>>>>>>> 
>>>>>>>> 
>>>>>>>> -- Tom
>>>>>>>> 
>>>>>>>> ...
>>>>>>>> modified
>>>>>>>> /home/tom/graal/graal/com.oracle.graal.api.replacements/com.oracle
>>>>>>>> .g
>>>>>>>> ra
>>>>>>>> al.api.replacements.iml modified
>>>>>>>> 
>>> /home/tom/graal/graal/com.oracle.graal.hotspot.jdk8.test/com.oracle.
>>>>>>>> gr
>>>>>>>> aal.hotspot.jdk8.test.iml modified
>>>>>>>> /home/tom/graal/graal/com.oracle.graal.api.meta/com.oracle.graal.a
>>>>>>>> pi
>>>>>>>> .m
>>>>>>>> eta.iml modified
>>>>>>>> 
>>>>>>> /home/tom/graal/graal/com.oracle.graal.replacements.test/com.oracle
>>>>>>> .g
>>>>>>> raa
>>>>>>> l.replacements.test.iml
>>>>>>>> gate: 03 Jun 2014 08:28:08: END:   IDEConfigCheck [0:00:43.867074]
>>>>>>>> gate: 03 Jun 2014 08:28:08: BEGIN: Canonicalization Check
>>>>>>>> 03 Jun 2014 08:28:08 - Ensuring mx/projects files are
>>>>> canonicalized...
>>>>>>>> Traceback (most recent call last):
>>>>>>>> File "/home/tom/graal/mx/mx_graal.py", line 1308, in gate
>>>>>>>> if mx.canonicalizeprojects([]) != 0:
>>>>>>>> File "/home/tom/graal/mxtool/mx.py", line 2657, in
>>>>>>> canonicalizeprojects
>>>>>>>> p = project(m.group(1))
>>>>>>>> File "/home/tom/graal/mxtool/mx.py", line 1178, in project
>>>>>>>> abort('project named ' + name + ' not found')  File
>>>>>>>> "/home/tom/graal/mxtool/mx.py", line 1877, in abort
>>>>>>>> raise SystemExit(codeOrMessage)
>>>>>>>> SystemExit: project named com.oracle.graal.hotspot.jfr not found
>>>>>>>> gate: 03 Jun 2014 08:28:08: ABORT: Gate [0:00:43.969592] project
>>>>>>>> named com.oracle.graal.hotspot.jfr not found
>>>> 
>> 
> 



More information about the graal-dev mailing list