KONNO Kazuhiro
KONNO Kazuhiro
Jenkins test sanity amac jdk11,jdk17
Jenkins test sanity.functional xlinux jdk8
Example 1 - Shift a value by 0 bits: (Seen only in a traceCG file in the next comment) ``` ------------------------------ n73616n ( 0) treetop [ 0x12b14d250] bci=[191,12,255] rc=0 vc=8...
A traceCG file for the method on AArch64 macOS with MathLoadTest_bigdecimal_CS_5m_0: [getCtor.txt.gz](https://github.com/eclipse-openj9/openj9/files/15492016/getCtor.txt.gz) I tried to generate a full trace file, but I couldn't make the test fail.
I got a traceFull file after all for the method, but it is too large (33MB after compressed by gzip) to attach here. JIT compilation failed with `EXCEPTION THROWN (std::bad_alloc)`...
The `ArrayCopyBNDCHK` node above is for the `System.arraycopy()` in `String.getBytes()`, where `n26491n` is `srcPos` and `n18670n` is `coder` in the Java code. https://github.com/ibmruntimes/openj9-openjdk-jdk17/blob/217e7d19465aba6a73ccbe34ec372546340362f5/src/java.base/share/classes/java/lang/String.java#L5251 This `ArrayCopyBNDCHK` node can be removed because...
I tried running `MathLoadTest_bigdecimal_CS_5m_0` on ppc64le Linux with the this option: `-Xjit:{java/lang/Class.getConstructor(*}(traceFull,log=getConstructor.txt,optlevel=scorching),scratchSpaceLimitKBForHotCompilations=2097152` It failed in the optimization phase with `bad_alloc` as shown below. The size of this JIT trace file...
I got a traceFull log without `bad_alloc` on AArch64 macOS. https://na.artifactory.swg-devops.com/artifactory/sys-rt-generic-local/hyc-runtimes-jenkins.swg-devops.com/Grinder/41058/system_test_output.tar.gz It contains `ArrayCopyBNDCHK` nodes like this that can be optimized out. (Example 3 above) ``` ------------------------------ n22856n ( 0)...
There is an `ishl` node that shifts by 0 bits (Example 1 above) in the traceFull file, but that is simplified in "id=46 name=treeSimplification" as expected. Trees after loopCanonicalization (id=45):...
@hzongaro FYI. Can anybody in the optimizer team look at the Example 3 case? Thanks.