<div dir="ltr">Hi Doug,<div><br></div><div>I can still reproduce it with OpenJDK head (<a href="http://hg.openjdk.java.net/jdk/hs/" style="color:rgb(17,85,204);font-family:Menlo;font-size:11px;font-style:normal;font-variant-ligatures:no-common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">http://hg.openjdk.java.net/<wbr>jdk/hs/</a>) and the nightly build from (<a href="https://adoptopenjdk.net/nightly.html?variant=openjdk10">https://adoptopenjdk.net/nightly.html?variant=openjdk10</a>).</div><div><br></div><div>Maybe you can use a larger <span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-style:normal;font-variant-ligatures:no-common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">InlineDuringParsingMaxDepth</span> (e.g., 9 or 10) or disable -Xcomp. Give me some time I will try to create a Graal test case.</div><div><br></div><div>




<span></span>





<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">tianxiaogu@~/Projects/hs </span><span class="gmail-m_-1475227138070064645gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(52,188,38)"><b>></b></span><span class="gmail-m_-1475227138070064645gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>></b></span><span class="gmail-m_-1475227138070064645gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)"><b>> </b></span><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">hg path</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">default = <a href="http://hg.openjdk.java.net/jdk/hs/">http://hg.openjdk.java.net/<wbr>jdk/hs/</a></span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">tianxiaogu@~/Projects/hs </span><span class="gmail-m_-1475227138070064645gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(52,188,38)"><b>></b></span><span class="gmail-m_-1475227138070064645gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>></b></span><span class="gmail-m_-1475227138070064645gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)"><b>> </b></span><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">hg id</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">f43576cfb273+ tip</span></p><p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"> <span></span> </span></p><p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"> <span></span> </span></p><p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-m_-1475227138070064645gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">tianxiaogu@~/Dropbox/OpenJDK/<wbr>jaotc/LongCompileTime1 </span><span class="gmail-m_-1475227138070064645gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(52,188,38)"><b>></b></span><span class="gmail-m_-1475227138070064645gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>></b></span><span class="gmail-m_-1475227138070064645gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)"><b>><span class="gmail-m_-1475227138070064645gmail-Apple-converted-space"> </span></b></span><span style="font-variant-ligatures:no-common-ligatures">~/Projects/hs/build/<wbr>macosx-x86_64-normal-server-<wbr>release/images/jdk/bin/jaotc --output C0.so</span><span class="gmail-m_-1475227138070064645gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures">  </span><span style="font-variant-ligatures:no-common-ligatures">-J-Dgraal.<wbr>InlineDuringParsingMaxDepth=8 --compile-commands commands.txt --verbose</span><span class="gmail-m_-1475227138070064645gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures">  </span><span style="font-variant-ligatures:no-common-ligatures">C0.class</span></p><p></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Compiling C0.so...</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">1 classes found (87 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-converted-space"> </span>Scanning C0</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-converted-space">  </span>added M2([C[SLjava/lang/Number;<wbr>Ljava/lang/Number;Ljava/lang/<wbr>Short;Ljava/lang/Float;SLjava/<wbr>lang/Character;[F)V</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">7 methods total, 1 methods to compile (13 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 2.2 MB , comm: 8.0 MB , freeRatio ~= 72.4%] (67 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Compiling with 4 threads</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.Error: Failed compilation: C0.M2([C[SLjava/lang/Number;<wbr>Ljava/lang/Number;Ljava/lang/<wbr>Short;Ljava/lang/Float;SLjava/<wbr>lang/Character;[F)V: java.lang.NullPointerException</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">java.lang.NullPointerException</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>graph.NodeClass$<wbr>RawEdgesIterator.getInput(<wbr>NodeClass.java:1042)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>graph.NodeClass$<wbr>RawEdgesIterator.forward(<wbr>NodeClass.java:981)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>graph.NodeClass$<wbr>RawEdgesIterator.hasNext(<wbr>NodeClass.java:974)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.schedule.SchedulePhase$<wbr>Instance.<wbr>scheduleEarliestIterative(<wbr>SchedulePhase.java:743)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.schedule.SchedulePhase$<wbr>Instance.run(SchedulePhase.<wbr>java:167)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.schedule.SchedulePhase.<wbr>run(SchedulePhase.java:126)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.Phase.run(Phase.java:<wbr>47)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.BasePhase.apply(<wbr>BasePhase.java:195)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.Phase.apply(Phase.java:<wbr>40)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>virtual.phases.ea.<wbr>EffectsPhase.runAnalysis(<wbr>EffectsPhase.java:87)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>virtual.phases.ea.<wbr>PartialEscapePhase.run(<wbr>PartialEscapePhase.java:80)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>virtual.phases.ea.<wbr>PartialEscapePhase.run(<wbr>PartialEscapePhase.java:42)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.BasePhase.apply(<wbr>BasePhase.java:195)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.BasePhase.apply(<wbr>BasePhase.java:137)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.PhaseSuite.run(<wbr>PhaseSuite.java:203)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.BasePhase.apply(<wbr>BasePhase.java:195)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>phases.BasePhase.apply(<wbr>BasePhase.java:137)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>core.GraalCompiler.<wbr>emitFrontEnd(GraalCompiler.<wbr>java:229)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>core.GraalCompiler.compile(<wbr>GraalCompiler.java:172)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.internal.vm.compiler@10-<wbr>internal/org.graalvm.compiler.<wbr>core.GraalCompiler.<wbr>compileGraph(GraalCompiler.<wbr>java:158)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.aot/jdk.tools.jaotc.<wbr>AOTBackend.compileGraph(<wbr>AOTBackend.java:141)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.aot/jdk.tools.jaotc.<wbr>AOTBackend.compileMethod(<wbr>AOTBackend.java:103)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at jdk.aot/jdk.tools.jaotc.<wbr>AOTCompilationTask.run(<wbr>AOTCompilationTask.java:121)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at java.base/java.util.<wbr>concurrent.ThreadPoolExecutor.<wbr>runWorker(ThreadPoolExecutor.<wbr>java:1135)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at java.base/java.util.<wbr>concurrent.ThreadPoolExecutor$<wbr>Worker.run(ThreadPoolExecutor.<wbr>java:635)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at java.base/java.lang.Thread.<wbr>run(Thread.java:844)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_-1475227138070064645gmail-Apple-converted-space"> </span>failed M2([C[SLjava/lang/Number;<wbr>Ljava/lang/Number;Ljava/lang/<wbr>Short;Ljava/lang/Float;SLjava/<wbr>lang/Character;[F)V</span></p>
<p class="gmail-m_-1475227138070064645gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">0 methods compiled, 1 methods failed (275627 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 368.0 MB, comm: 765.0 MB, freeRatio ~= 51.9%] (63 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Parsing compiled code (1 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 7.3 MB , comm: 17.0 MB, freeRatio ~= 57.0%] (17 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Processing metadata (49 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 4.9 MB , comm: 17.0 MB, freeRatio ~= 71.3%] (21 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Preparing stubs binary (1 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Preparing compiled binary (0 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.header: 65 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.config: 40 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.kls.offsets: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.offsets: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.kls.dependencies: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.stubs.offsets: 964 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.metadata: 6792 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.text: 21344 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.code.segments: 165 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.constdata: 29152 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.kls.got: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.cnt.got: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meta.got: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.state: 320 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.oop.got: 0 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meta.names: 1874 bytes</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 4.9 MB , comm: 17.0 MB, freeRatio ~= 71.3%] (21 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Creating binary: C0.so.o (29 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 4.9 MB , comm: 17.0 MB, freeRatio ~= 71.3%] (47 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Creating shared library: C0.so (70 ms)</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Final memory <span class="gmail-m_-1475227138070064645gmail-Apple-converted-space">  </span>[used: 4.8 MB , comm: 17.0 MB, freeRatio ~= 72.1%]</span></p>
<p class="gmail-m_-1475227138070064645gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-m_-1475227138070064645gmail-s1" style="font-variant-ligatures:no-common-ligatures">Total time: 277417 ms</span></p>


<div><br></div><div><br></div></div><div>Nightly build: jdk-10+23-20, 26 January 2018, macOS x64</div><div><br></div><div><a href="https://github.com/AdoptOpenJDK/openjdk10-nightly/releases/download/jdk-10%2B23-20182601/OpenJDK10_x64_Mac_20182601.tar.gz">https://github.com/AdoptOpenJDK/openjdk10-nightly/releases/download/jdk-10%2B23-20182601/OpenJDK10_x64_Mac_20182601.tar.gz</a><br></div><div><br></div><div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tianxiaogu@~/Dropbox/OpenJDK/jaotc/LongCompileTime1 </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(52,188,38)"><b>></b></span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(255,59,30)"><b>></b></span><span class="gmail-s4" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)"><b>> </b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">~/Downloads/jdk-10+23/bin/jaotc --output C0.so<span class="gmail-Apple-converted-space">  </span>-J-Dgraal.InlineDuringParsingMaxDepth=8 --compile-commands commands.txt --verbose<span class="gmail-Apple-converted-space">  </span>C0.class</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Compiling C0.so...</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">1 classes found (52 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>Scanning C0</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span>added M2([C[SLjava/lang/Number;Ljava/lang/Number;Ljava/lang/Short;Ljava/lang/Float;SLjava/lang/Character;[F)V</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">7 methods total, 1 methods to compile (10 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 2.2 MB , comm: 8.0 MB , freeRatio ~= 72.2%] (34 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Compiling with 4 threads</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.Error: Failed compilation: C0.M2([C[SLjava/lang/Number;Ljava/lang/Number;Ljava/lang/Short;Ljava/lang/Float;SLjava/lang/Character;[F)V: java.lang.NullPointerException</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">java.lang.NullPointerException</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.graph.NodeClass$RawEdgesIterator.getInput(NodeClass.java:1042)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.graph.NodeClass$RawEdgesIterator.forward(NodeClass.java:981)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.graph.NodeClass$RawEdgesIterator.hasNext(NodeClass.java:974)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.schedule.SchedulePhase$Instance.scheduleEarliestIterative(SchedulePhase.java:743)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.schedule.SchedulePhase$Instance.run(SchedulePhase.java:167)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.schedule.SchedulePhase.run(SchedulePhase.java:126)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.Phase.run(Phase.java:47)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:195)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.Phase.apply(Phase.java:40)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.virtual.phases.ea.EffectsPhase.runAnalysis(EffectsPhase.java:87)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.virtual.phases.ea.PartialEscapePhase.run(PartialEscapePhase.java:80)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.virtual.phases.ea.PartialEscapePhase.run(PartialEscapePhase.java:42)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:195)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:137)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.PhaseSuite.run(PhaseSuite.java:203)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:195)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:137)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.core.GraalCompiler.emitFrontEnd(GraalCompiler.java:229)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.core.GraalCompiler.compile(GraalCompiler.java:172)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.internal.vm.compiler@10-internal/org.graalvm.compiler.core.GraalCompiler.compileGraph(GraalCompiler.java:158)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.aot/jdk.tools.jaotc.AOTBackend.compileGraph(AOTBackend.java:140)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.aot/jdk.tools.jaotc.AOTBackend.compileMethod(AOTBackend.java:102)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at jdk.aot/jdk.tools.jaotc.AOTCompilationTask.run(AOTCompilationTask.java:121)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>at java.base/java.lang.Thread.run(Thread.java:844)</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>failed M2([C[SLjava/lang/Number;Ljava/lang/Number;Ljava/lang/Short;Ljava/lang/Float;SLjava/lang/Character;[F)V</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">0 methods compiled, 1 methods failed (140875 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 380.0 MB, comm: 2.0 GB , freeRatio ~= 81.0%] (180 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Parsing compiled code (1 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 5.0 MB , comm: 10.0 MB, freeRatio ~= 49.8%] (33 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Processing metadata (37 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 4.8 MB , comm: 10.0 MB, freeRatio ~= 52.0%] (39 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Preparing stubs binary (2 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Preparing compiled binary (0 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.header: 67 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.config: 39 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.kls.offsets: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.offsets: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.kls.dependencies: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.stubs.offsets: 940 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.metadata: 6616 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.text: 21080 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.code.segments: 163 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.constdata: 29152 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.kls.got: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.cnt.got: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meta.got: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meth.state: 312 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.oop.got: 0 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">.meta.names: 1826 bytes</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 4.8 MB , comm: 10.0 MB, freeRatio ~= 52.0%] (71 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Creating binary: C0.so.o (91 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Freeing memory [used: 4.8 MB , comm: 10.0 MB, freeRatio ~= 52.1%] (47 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Creating shared library: C0.so (75 ms)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Final memory <span class="gmail-Apple-converted-space">  </span>[used: 4.7 MB , comm: 10.0 MB, freeRatio ~= 53.4%]</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Total time: 142749 ms</span></p>


<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 28, 2018 at 10:58 AM, Tianxiao Gu <span dir="ltr"><<a href="mailto:tianxiao.gu@gmail.com" target="_blank">tianxiao.gu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Doug,<div><br></div><div>Thank you very much for your feedback. I will try to create a Graal unit test and also reproduce the crash on my Mac.</div><div><br></div><div>1. The OpenJDK head I used is built from the repo at <a href="http://hg.openjdk.java.net/jdk/jdk/" target="_blank">http://hg.openjdk.java.net/<wbr>jdk/jdk/</a>.</div><div>2. My computer used for testing is Ubuntu 16.04. The output of `uname -a` is:</div><span class=""><div><br></div><div>




<span></span>





<p class="m_570649540139386439gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_570649540139386439gmail-s1" style="font-variant-ligatures:no-common-ligatures">Linux xtiger 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</span></p>


</div><br></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 28, 2018 at 4:23 AM, Doug Simon <span dir="ltr"><<a href="mailto:doug.simon@oracle.com" target="_blank">doug.simon@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tianxiao,<br>
<br>
Thanks for the detailed bug report.<br>
<br>
By OpenJDK, which repo do you mean? I've tried to reproduce with the tip of <a href="http://hg.openjdk.java.net/jdk/hs" rel="noreferrer" target="_blank">http://hg.openjdk.java.net/jdk<wbr>/hs</a> on my Mac but with no luck so far:<br>
<br>
dsimon@kruger-4 ~/j/open> hg path<br>
default = <a href="http://hg.openjdk.java.net/jdk/hs" rel="noreferrer" target="_blank">http://hg.openjdk.java.net/jdk<wbr>/hs</a><br>
default-push = ssh://<a href="http://dnsimon@hg.openjdk.java.net/jdk/hs" rel="noreferrer" target="_blank">dnsimon@hg.openjdk.java.<wbr>net/jdk/hs</a><br>
dsimon@kruger-4 ~/j/open> hg id<br>
f43576cfb273 tip<br>
dsimon@kruger-4 ~/j/open> sh configure --disable-warnings-as-errors<br>
dsimon@kruger-4 ~/j/open> make CONF=macosx-x86_64-normal-serv<wbr>er-release images<br>
dsimon@kruger-4 ~/j/open> shasum C0.class<br>
fc436e1bb82f9d6193177131b1130c<wbr>44ba61dce2  C0.class<br>
dsimon@kruger-4 ~/j/open> cat commands.txt<br>
compileOnly C0.M2.*<br>
dsimon@kruger-4 ~/j/open> build/macosx-x86_64-normal-ser<wbr>ver-release/images/jdk/bin/jao<wbr>tc --output C0.so --compile-commands commands.txt -J-Xcomp --verbose  -J-Dgraal.InlineDuringParsingM<wbr>axDepth=8 -J-Xcomp C0.class<br>
Compiling C0.so...<br>
1 classes found (1374 ms)<br>
 Scanning C0<br>
  added M2([Ljava/lang/Number;[CLjava/<wbr>lang/Comparable;[F[Ljava/lang/<wbr>Character;[S)Z<br>
6 methods total, 1 methods to compile (159 ms)<br>
Freeing memory [used: 2,4 MB , comm: 8,0 MB , freeRatio ~= 70,5%] (552 ms)<br>
<span>Compiling with 8 threads<br>
.<br>
</span>1 methods compiled, 0 methods failed (3988 ms)<br>
Freeing memory [used: 4,2 MB , comm: 8,0 MB , freeRatio ~= 47,1%] (32 ms)<br>
Parsing compiled code (22 ms)<br>
Freeing memory [used: 5,4 MB , comm: 10,0 MB, freeRatio ~= 45,7%] (35 ms)<br>
Processing metadata (164 ms)<br>
Freeing memory [used: 5,4 MB , comm: 14,0 MB, freeRatio ~= 61,7%] (36 ms)<br>
Preparing stubs binary (2 ms)<br>
Preparing compiled binary (6 ms)<br>
.header: 63 bytes<br>
.config: 40 bytes<br>
.kls.offsets: 48 bytes<br>
.meth.offsets: 28 bytes<br>
.kls.dependencies: 12 bytes<br>
.stubs.offsets: 964 bytes<br>
.meth.metadata: 7000 bytes<br>
.text: 21624 bytes<br>
.code.segments: 167 bytes<br>
.meth.constdata: 29152 bytes<br>
.kls.got: 32 bytes<br>
.cnt.got: 0 bytes<br>
.meta.got: 8 bytes<br>
.meth.state: 328 bytes<br>
.oop.got: 0 bytes<br>
.meta.names: 1962 bytes<br>
Freeing memory [used: 5,4 MB , comm: 14,0 MB, freeRatio ~= 61,8%] (47 ms)<br>
Creating binary: C0.so.o (151 ms)<br>
Freeing memory [used: 5,3 MB , comm: 14,0 MB, freeRatio ~= 61,8%] (41 ms)<br>
Creating shared library: C0.so (31 ms)<br>
Final memory   [used: 5,2 MB , comm: 14,0 MB, freeRatio ~= 62,9%]<br>
Total time: 15784 ms<br>
<br>
<br>
In terms of errors on 9.0.4, that version of Graal is now quite old and there's a good chance the issue has been fixed since then.<br>
<br>
In terms of C2 crashing, that's something for the HotSpot compiler team to look at.<br>
<br>
For these kinds of issues, it's really helpful if you can make a Graal unit test out of it. That allows us to test it against recent Graal and also ensure we don't regress. How do you generate these test classes? If it's with the ASM library, then you can see how it is used by other Graal unit tests:<br>
<br>
<a href="https://github.com/oracle/graal/blob/3d00ff7781fd63da2af576ccb7594db7cb39373b/compiler/src/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/UnbalancedMonitorsTest.java" rel="noreferrer" target="_blank">https://github.com/oracle/graa<wbr>l/blob/3d00ff7781fd63da2af576c<wbr>cb7594db7cb39373b/compiler/<wbr>src/org.graalvm.compiler.core.<wbr>test/src/org/graalvm/compiler/<wbr>core/test/<wbr>UnbalancedMonitorsTest.java</a><br>
<a href="https://github.com/oracle/graal/blob/2401c47b18c88317f0d2476e183cb7be65ce242d/compiler/src/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/SubWordReturnTest.java" rel="noreferrer" target="_blank">https://github.com/oracle/graa<wbr>l/blob/2401c47b18c88317f0d2476<wbr>e183cb7be65ce242d/compiler/<wbr>src/org.graalvm.compiler.core.<wbr>test/src/org/graalvm/compiler/<wbr>core/test/SubWordReturnTest.<wbr>java</a><br>
<br>
You may also be able to express the problematic pattern in normal Java code as I could for <a href="https://github.com/oracle/graal/issues/288" rel="noreferrer" target="_blank">https://github.com/oracle/graa<wbr>l/issues/288</a>.<br>
<span class="m_570649540139386439HOEnZb"><font color="#888888"><br>
-Doug<br>
</font></span><div class="m_570649540139386439HOEnZb"><div class="m_570649540139386439h5"><br>
> On 27 Jan 2018, at 10:16, Tianxiao Gu <<a href="mailto:tianxiao.gu@gmail.com" target="_blank">tianxiao.gu@gmail.com</a>> wrote:<br>
><br>
> The OpenJDK head still crashes with this program. Now I can manage to reproduce the crash in about 1 min on my computer.  The crash stack trace is different.<br>
><br>
> Using the following options to start jaotc.<br>
><br>
> 1. Add options -J-Dgraal.InlineDuringParsingM<wbr>axDepth=8 and -J-Xcomp.<br>
> 2. Add options --compile-commands commands.txt to jaotc, where the contents of commands.txt is<br>
> compileOnly C0.M2.*<br>
><br>
> If we use CompileCommand to exclude org.graalvm.compiler.graph.Edg<wbr>es::getNodeListUnsafe, we get a Java stack trace.<br>
><br>
> 3. Add option -J-XX:CompileCommand=exclude,o<wbr>rg.graalvm.compiler.graph.Edge<wbr>s::getNodeListUnsafe<br>
><br>
><br>
> Summary:<br>
><br>
> HEAD + Include: VM crashed<br>
> HEAD + Exclude: Java Exception<br>
> JDK 9.04 + Include: VM crashed<br>
> JDK 9.04 + Exclude: VM crashed<br>
><br>
> I have fired a similar bug report with another program at  <a href="https://github.com/oracle/graal/issues/290" rel="noreferrer" target="_blank">https://github.com/oracle/graa<wbr>l/issues/290</a><br>
><br>
> So far, we still have no idea whether this is a problem of C2 or Graal.<br>
><br>
> === C2 (HEAD) crashes ===<br>
><br>
> $ time ../../../openjdk/jdk/build/lin<wbr>ux-x86_64-normal-server-releas<wbr>e/jdk/bin/jaotc --output C0.so --verbose -J-Dgraal.InlineDuringParsingM<wbr>axDepth=8 --compile-commands commands.txt  -J-Xcomp  C0<br>
> Compiling C0.so...<br>
> 1 classes found (721 ms)<br>
>  Scanning C0<br>
>   added M2([C[SLjava/lang/Number;Ljava<wbr>/lang/Number;Ljava/lang/Short;<wbr>Ljava/lang/Float;SLjava/lang/<wbr>Character;[F)V<br>
> 7 methods total, 1 methods to compile (173 ms)<br>
> Freeing memory [used: 3.7 MB , comm: 10.0 MB, freeRatio ~= 62.6%] (555 ms)<br>
> Compiling with 8 threads<br>
> .#<br>
> # A fatal error has been detected by the Java Runtime Environment:<br>
> #<br>
> #  SIGSEGV (0xb) at pc=0x00007f3c74f57135, pid=19884, tid=19921<br>
> #<br>
> # JRE version: OpenJDK Runtime Environment (10.0) (build 10-internal+0-adhoc.t.jdk)<br>
> # Java VM: OpenJDK 64-Bit Server VM (10-internal+0-adhoc.t.jdk, compiled mode, tiered, jvmci, compressed oops, g1 gc, linux-amd64)<br>
> # Problematic frame:<br>
> # J 10840 c2 org.graalvm.compiler.graph.Edg<wbr>es.getNodeListUnsafe(Lorg/graa<wbr>lvm/compiler/graph/Node;J)Lorg<wbr>/graalvm/compiler/graph/NodeLi<wbr>st; jdk.internal.vm.compiler (12 bytes) @ 0x00007f3c74f57135 [0x00007f3c74f57120+0x00000000<wbr>00000015]<br>
> #<br>
> # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/t/Projects/JVMTesting/ol<wbr>d-bugs/0123-old-bugs/jaotc-jdk<wbr>-20180122171043/core.19884)<br>
> #<br>
> # An error report file with more information is saved as:<br>
> # /home/t/Projects/JVMTesting/ol<wbr>d-bugs/0123-old-bugs/jaotc-jdk<wbr>-20180122171043/hs_err_pid1988<wbr>4.log<br>
> Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled<br>
> #<br>
> # If you would like to submit a bug report, please visit:<br>
> #   <a href="http://bugreport.java.com/bugreport/crash.jsp" rel="noreferrer" target="_blank">http://bugreport.java.com/bug<wbr>report/crash.jsp</a><br>
> #<br>
> Aborted (core dumped)<br>
> real  1m14.411s<br>
> user  1m17.352s<br>
> sys   0m0.604s<br>
><br>
> === Exclude getNodeListUnsafe ===<br>
><br>
> $ time ../../../openjdk/jdk/build/lin<wbr>ux-x86_64-normal-server-releas<wbr>e/jdk/bin/jaotc --output C0.so --verbose -J-Dgraal.InlineDuringParsingM<wbr>axDepth=8 --compile-commands commands.txt  -J-Xcomp -J-XX:CompileCommand=exclude,o<wbr>rg.graalvm.compiler.graph.Edge<wbr>s::getNodeListUnsafe  C0<br>
> CompileCommand: exclude org/graalvm/compiler/graph/Edg<wbr>es.getNodeListUnsafe<br>
> Compiling C0.so...<br>
> 1 classes found (704 ms)<br>
>  Scanning C0<br>
>   added M2([C[SLjava/lang/Number;Ljava<wbr>/lang/Number;Ljava/lang/Short;<wbr>Ljava/lang/Float;SLjava/lang/<wbr>Character;[F)V<br>
> 7 methods total, 1 methods to compile (130 ms)<br>
> Freeing memory [used: 4.6 MB , comm: 10.0 MB, freeRatio ~= 54.2%] (792 ms)<br>
> Compiling with 8 threads<br>
> .Error: Failed compilation: C0.M2([C[SLjava/lang/Number;Lj<wbr>ava/lang/Number;Ljava/lang/Sho<wbr>rt;Ljava/lang/Float;SLjava/lan<wbr>g/Character;[F)V: java.lang.NullPointerException<br>
> java.lang.NullPointerException<br>
>       at jdk.internal.vm.compiler/org.g<wbr><a href="http://raalvm.compiler.graph.Edges.ge">raalvm.compiler.graph.Edges.ge</a><wbr>tNodeListUnsafe(Edges.java:71)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.graph.NodeClas<wbr>s$RawEdgesIterator.getInput(<wbr>NodeClass.java:1041)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.graph.NodeClas<wbr>s$RawEdgesIterator.forward(<wbr>NodeClass.java:981)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.graph.NodeClas<wbr>s$RawEdgesIterator.hasNext(<wbr>NodeClass.java:974)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.schedul<wbr>e.SchedulePhase$Instance.sched<wbr>uleEarliestIterative(ScheduleP<wbr>hase.java:743)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.schedul<wbr>e.SchedulePhase$Instance.run(<wbr>SchedulePhase.java:167)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.schedul<wbr>e.SchedulePhase.run(SchedulePh<wbr>ase.java:126)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.Phase.r<wbr>un(Phase.java:47)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.BasePha<wbr>se.apply(BasePhase.java:195)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.Phase.a<wbr>pply(Phase.java:40)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.virtual.phases<wbr>.ea.EffectsPhase.runAnalysis(<wbr>EffectsPhase.java:87)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.virtual.phases<wbr>.ea.PartialEscapePhase.run(<wbr>PartialEscapePhase.java:80)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.virtual.phases<wbr>.ea.PartialEscapePhase.run(<wbr>PartialEscapePhase.java:42)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.BasePha<wbr>se.apply(BasePhase.java:195)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.BasePha<wbr>se.apply(BasePhase.java:137)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.PhaseSu<wbr>ite.run(PhaseSuite.java:203)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.BasePha<wbr>se.apply(BasePhase.java:195)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.phases.BasePha<wbr>se.apply(BasePhase.java:137)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.core.GraalComp<wbr>iler.emitFrontEnd(GraalCompile<wbr>r.java:229)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.core.GraalComp<wbr>iler.compile(GraalCompiler.<wbr>java:172)<br>
>       at jdk.internal.vm.compiler/org.g<wbr>raalvm.compiler.core.GraalComp<wbr>iler.compileGraph(GraalCompile<wbr>r.java:158)<br>
>       at jdk.aot/jdk.tools.jaotc.AOTBac<wbr>kend.compileGraph(AOTBackend.<wbr>java:141)<br>
>       at jdk.aot/jdk.tools.jaotc.AOTBac<wbr>kend.compileMethod(AOTBackend.<wbr>java:103)<br>
>       at jdk.aot/jdk.tools.jaotc.AOTCom<wbr>pilationTask.run(AOTCompilatio<wbr>nTask.java:121)<br>
>       at java.base/java.util.concurrent<wbr>.ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1131)<br>
>       at java.base/java.util.concurrent<wbr>.ThreadPoolExecutor$Worker.<wbr>run(ThreadPoolExecutor.java:<wbr>631)<br>
>       at java.base/java.lang.Thread.run<wbr>(Thread.java:844)<br>
>  failed M2([C[SLjava/lang/Number;Ljava<wbr>/lang/Number;Ljava/lang/Short;<wbr>Ljava/lang/Float;SLjava/lang/<wbr>Character;[F)V<br>
> 0 methods compiled, 1 methods failed (80228 ms)<br>
> Freeing memory [used: 430.5 MB, comm: 627.0 MB, freeRatio ~= 31.3%] (22 ms)<br>
> Parsing compiled code (3 ms)<br>
> Freeing memory [used: 9.8 MB , comm: 24.0 MB, freeRatio ~= 59.0%] (20 ms)<br>
> Processing metadata (146 ms)<br>
> Freeing memory [used: 6.1 MB , comm: 24.0 MB, freeRatio ~= 74.7%] (20 ms)<br>
> Preparing stubs binary (3 ms)<br>
> Preparing compiled binary (1 ms)<br>
> .header: 57 bytes<br>
> .config: 40 bytes<br>
> .kls.offsets: 0 bytes<br>
> .meth.offsets: 0 bytes<br>
> .kls.dependencies: 0 bytes<br>
> .stubs.offsets: 964 bytes<br>
> .meth.metadata: 6792 bytes<br>
> .text: 21344 bytes<br>
> .code.segments: 165 bytes<br>
> .meth.constdata: 29152 bytes<br>
> .kls.got: 0 bytes<br>
> .cnt.got: 0 bytes<br>
> .meta.got: 0 bytes<br>
> .meth.state: 320 bytes<br>
> .oop.got: 0 bytes<br>
> .meta.names: 1874 bytes<br>
> Freeing memory [used: 6.1 MB , comm: 24.0 MB, freeRatio ~= 74.7%] (20 ms)<br>
> Creating binary: C0 (74 ms)<br>
> Freeing memory [used: 6.1 MB , comm: 24.0 MB, freeRatio ~= 74.7%] (20 ms)<br>
> Creating shared library: C0.so (13 ms)<br>
> Final memory   [used: 5.9 MB , comm: 24.0 MB, freeRatio ~= 75.3%]<br>
> Total time: 90239 ms<br>
> real  1m32.837s<br>
> user  1m36.420s<br>
> sys   0m0.792s<br>
><br>
><br>
> ==============================<wbr>==============================<wbr>====================<br>
><br>
> The crash is more easily to be reproduced in Oracle JDK 9.0.4+11 (without -J-Xcomp)<br>
><br>
> $ time ../../../jdk-9.0.4/bin/jaotc --output C0.so --verbose -J-Dgraal.InlineDuringParsingM<wbr>axDepth=8 --compile-commands commands.txt C0<br>
> Compiling C0...<br>
> 1 classes found (451 ms)<br>
>  Scanning C0<br>
>   added M2([C[SLjava/lang/Number;Ljava<wbr>/lang/Number;Ljava/lang/Short;<wbr>Ljava/lang/Float;SLjava/lang/<wbr>Character;[F)V<br>
> 7 methods total, 1 methods to compile (95 ms)<br>
> Freeing memory [used: 2.5 MB , comm: 8.0 MB , freeRatio ~= 68.7%] (803 ms)<br>
> Compiling with 8 threads<br>
> .#<br>
> # A fatal error has been detected by the Java Runtime Environment:<br>
> #<br>
> #  SIGSEGV (0xb) at pc=0x00007f43717c8d35, pid=20015, tid=20049<br>
> #<br>
> # JRE version: Java(TM) SE Runtime Environment (9.0+11) (build 9.0.4+11)<br>
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (9.0.4+11, compiled mode, tiered, jvmci, compressed oops, g1 gc, linux-amd64)<br>
> # Problematic frame:<br>
> # J 9702 c2 org.graalvm.compiler.graph.Edg<wbr>es.getNodeListUnsafe(Lorg/graa<wbr>lvm/compiler/graph/Node;J)Lorg<wbr>/graalvm/compiler/graph/NodeLi<wbr>st; jdk.internal.vm.compiler@9.0.4 (12 bytes) @ 0x00007f43717c8d35 [0x00007f43717c8d20+0x00000000<wbr>00000015]<br>
> #<br>
> # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/t/Projects/JVMTesting/ol<wbr>d-bugs/0123-old-bugs/jaotc-jdk<wbr>-20180122171043/core.20015)<br>
> #<br>
> # An error report file with more information is saved as:<br>
> # /home/t/Projects/JVMTesting/ol<wbr>d-bugs/0123-old-bugs/jaotc-jdk<wbr>-20180122171043/hs_err_pid2001<wbr>5.log<br>
> Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled<br>
> #<br>
> # If you would like to submit a bug report, please visit:<br>
> #   <a href="http://bugreport.java.com/bugreport/crash.jsp" rel="noreferrer" target="_blank">http://bugreport.java.com/bug<wbr>report/crash.jsp</a><br>
> #<br>
> Aborted (core dumped)<br>
> real  1m17.911s<br>
> user  1m25.256s<br>
> sys   0m0.896s<br>
><br>
><br>
> === Exclude getNodeListUnsafe ===<br>
><br>
> time ../../../jdk-9.0.4/bin/jaotc --output C0.so --verbose -J-Dgraal.InlineDuringParsingM<wbr>axDepth=8 --compile-commands commands.txt -J-XX:CompileCommand=exclude,o<wbr>rg.graalvm.compiler.graph.Edge<wbr>s::getNodeListUnsafe  C0<br>
> CompileCommand: exclude org/graalvm/compiler/graph/Edg<wbr>es.getNodeListUnsafe<br>
> Compiling C0...<br>
> 1 classes found (17 ms)<br>
>  Scanning C0<br>
>   added M2([C[SLjava/lang/Number;Ljava<wbr>/lang/Number;Ljava/lang/Short;<wbr>Ljava/lang/Float;SLjava/lang/<wbr>Character;[F)V<br>
> 7 methods total, 1 methods to compile (4 ms)<br>
> Freeing memory [used: 2.1 MB , comm: 8.0 MB , freeRatio ~= 73.6%] (20 ms)<br>
> Compiling with 8 threads<br>
> .#<br>
> # A fatal error has been detected by the Java Runtime Environment:<br>
> #<br>
> #  SIGSEGV (0xb) at pc=0x00007ff051b6ab29, pid=20922, tid=20956<br>
> #<br>
> # JRE version: Java(TM) SE Runtime Environment (9.0+11) (build 9.0.4+11)<br>
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (9.0.4+11, mixed mode, aot, tiered, jvmci, compressed oops, g1 gc, linux-amd64)<br>
> # Problematic frame:<br>
> # j  org.graalvm.compiler.graph.Edg<wbr>es.getNodeListUnsafe(Lorg/graa<wbr>lvm/compiler/graph/Node;J)Lorg<wbr>/graalvm/compiler/graph/NodeLi<wbr>st;+5 jdk.internal.vm.compiler@9.0.4<br>
> #<br>
> # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/t/Projects/JVMTesting/ol<wbr>d-bugs/0123-old-bugs/jaotc-jdk<wbr>-20180122171043/core.20922)<br>
> #<br>
> # An error report file with more information is saved as:<br>
> # /home/t/Projects/JVMTesting/ol<wbr>d-bugs/0123-old-bugs/jaotc-jdk<wbr>-20180122171043/hs_err_pid2092<wbr>2.log<br>
> Compiled method (c1)   65364 1005       1       sun.misc.Unsafe::getObject (9 bytes)<br>
>  total in heap  [0x00007ff05965cb90,0x00007ff0<wbr>5965cee0] = 848<br>
>  relocation     [0x00007ff05965cd00,0x00007ff<wbr>05965cd28] = 40<br>
>  main code      [0x00007ff05965cd40,0x00007ff0<wbr>5965ce20] = 224<br>
>  stub code      [0x00007ff05965ce20,0x00007ff0<wbr>5965ceb0] = 144<br>
>  scopes data    [0x00007ff05965ceb0,0x00007ff0<wbr>5965ceb8] = 8<br>
>  scopes pcs     [0x00007ff05965ceb8,0x00007ff<wbr>05965ced8] = 32<br>
>  dependencies   [0x00007ff05965ced8,0x00007ff<wbr>05965cee0] = 8<br>
> Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled<br>
> #<br>
> # If you would like to submit a bug report, please visit:<br>
> #   <a href="http://bugreport.java.com/bugreport/crash.jsp" rel="noreferrer" target="_blank">http://bugreport.java.com/bug<wbr>report/crash.jsp</a><br>
> #<br>
> Aborted (core dumped)<br>
> real  1m5.467s<br>
> user  1m21.900s<br>
> sys   0m0.444s<br>
><br>
><br>
><br>
><br>
> On Wed, Jan 24, 2018 at 12:04 PM, Tianxiao Gu <<a href="mailto:tianxiao.gu@gmail.com" target="_blank">tianxiao.gu@gmail.com</a>> wrote:<br>
> Thanks, Doug.<br>
><br>
> I agree with you. The fatal error indicates that the C2 compiler may generate problematic code for a method (see below) of graal, when graal itself has been driven to a crazy state by the input C0.class.<br>
> I will file an issue with another class that does not end with a fatal error of the runtime but still leads to a long compile time.<br>
><br>
> Stack: [0x00007f29a22c2000,0x00007f29<br>
> a23c3000],  sp=0x00007f29a23c06d0,  free space=1017k<br>
> Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)<br>
> J 3623% c2<br>
> <a href="http://org.graalvm.compiler.phases.sc">org.graalvm.compiler.phases.sc</a><wbr>hedule.SchedulePhase$Instance.<wbr>scheduleEarliestIterative(Lorg<wbr>/graalvm/compiler/core/common/<wbr>cfg/BlockMap;Lorg/graalvm/<wbr>compiler/graph/NodeMap;Lorg/<wbr>graalvm/compiler/graph/<wbr>NodeBitMap;Lorg/graalvm/compil<wbr>er/nodes/StructuredGraph;Z)V jdk.internal.vm.compiler (999 bytes) @ 0x00007f2a04f371a2 [0x00007f2a04f368e0+0x00000000<br>
> 000008c2]<br>
> j<br>
><br>
><br>
> On Wed, Jan 24, 2018 at 3:02 AM, Doug Simon <<a href="mailto:doug.simon@oracle.com" target="_blank">doug.simon@oracle.com</a>> wrote:<br>
> Hi Tianxiao,<br>
><br>
> As far as I'm aware, Graal compiled code does not run during jaotc so I don't think the crash is Graal related. It's in a C2 compiled method.<br>
><br>
> That said, the long compile time is almost certainly some issue in Graal. Looking at the class file, it seems like some inlining maybe be going crazy on the infinitely recursive C0.M0() method and I can confirm this with:<br>
><br>
> jaotc -J-Dgraal.TraceInlineDuringPar<wbr>sing=true C0.class<br>
><br>
> Can you please file an issue at <a href="https://github.com/oracle/graal/issues" rel="noreferrer" target="_blank">https://github.com/oracle/graa<wbr>l/issues</a> and we will investigate further.<br>
><br>
> -Doug<br>
><br>
> > On 24 Jan 2018, at 09:00, Tianxiao Gu <<a href="mailto:tianxiao.gu@gmail.com" target="_blank">tianxiao.gu@gmail.com</a>> wrote:<br>
> ><br>
> > Hi All,<br>
> ><br>
> > I found some abnormal behavior of jaotc. It takes 23 minutes for jaotc (head) to compile a 3012-byte generated class file (C0.class)<br>
> > and jaotc ends with a fatal error. I have managed to reproduce this issue on my machine for 4 times.<br>
> ><br>
> > Related files are hosted on Google Drive:<br>
> ><br>
> > <a href="https://drive.google.com/open?id=1u9O3uPkvucX6PWQkMFER3NAUWIR_KglE" rel="noreferrer" target="_blank">https://drive.google.com/open?<wbr>id=1u9O3uPkvucX6PWQkMFER3NAUWI<wbr>R_KglE</a><br>
> ><br>
> > Reproducing Steps:<br>
> ><br>
> > jaotc --output C0.so C0.class<br>
> ><br>
> > Environment:<br>
> ><br>
> > `java --version`<br>
> ><br>
> > openjdk 10-internal 2018-03-20<br>
> > OpenJDK Runtime Environment (build 10-internal+0-adhoc.t.jdk)<br>
> > OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.t.jdk, mixed mode)<br>
> ><br>
> > `lscpu`<br>
> ><br>
> > Architecture:          x86_64<br>
> > CPU op-mode(s):        32-bit, 64-bit<br>
> > Byte Order:            Little Endian<br>
> > CPU(s):                8<br>
> > On-line CPU(s) list:   0-7<br>
> > Thread(s) per core:    2<br>
> > Core(s) per socket:    4<br>
> > Socket(s):             1<br>
> > NUMA node(s):          1<br>
> > Vendor ID:             GenuineIntel<br>
> > CPU family:            6<br>
> > Model:                 158<br>
> > Model name:            Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz<br>
> > Stepping:              9<br>
> > CPU MHz:               900.000<br>
> > CPU max MHz:           4200.0000<br>
> > CPU min MHz:           800.0000<br>
> > BogoMIPS:              7200.00<br>
> > Virtualization:        VT-x<br>
> > L1d cache:             32K<br>
> > L1i cache:             32K<br>
> > L2 cache:              256K<br>
> > L3 cache:              8192K<br>
> > NUMA node0 CPU(s):     0-7<br>
> > Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp<br>
> ><br>
> > `uname -a`<br>
> ><br>
> > Linux xtiger 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux<br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>