Skip to content

Console Output

15:49:55 [2024-04-22T19:49:55.165Z] + printenv
15:49:55 [2024-04-22T19:49:55.165Z] ARCH=riscv64
15:49:55 [2024-04-22T19:49:55.165Z] JENKINS_HOME=/var/jenkins
15:49:55 [2024-04-22T19:49:55.165Z] ghprbSourceBranch=deadTreesElimination-TreeInfo-allocation
15:49:55 [2024-04-22T19:49:55.165Z] ghprbTriggerAuthorEmail=vijaysun@ca.ibm.com
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullAuthorEmail=
15:49:55 [2024-04-22T19:49:55.165Z] CROSS_SYSROOT_RISCV64=/opt/sysroot
15:49:55 [2024-04-22T19:49:55.165Z] CI=true
15:49:55 [2024-04-22T19:49:55.165Z] HOSTNAME=9955a573731c
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullDescription=GitHub pull request #7305 of commit 149b87236bf890ad3e39dffdd71bd17d69102cd7, no merge conflicts.
15:49:55 [2024-04-22T19:49:55.165Z] RUN_CHANGES_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1389/display/redirect?page=changes
15:49:55 [2024-04-22T19:49:55.165Z] ghprbActualCommit=149b87236bf890ad3e39dffdd71bd17d69102cd7
15:49:55 [2024-04-22T19:49:55.165Z] NODE_LABELS=Linux compile:arm:cross x86 UNB compile:aarch64:cross cgroup.v2 compile:riscv64:cross ub20-x64-omr9 compile:xlinux
15:49:55 [2024-04-22T19:49:55.165Z] HUDSON_URL=https://ci.eclipse.org/omr/
15:49:55 [2024-04-22T19:49:55.165Z] HOME=/home/jenkins
15:49:55 [2024-04-22T19:49:55.165Z] BUILD_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1389/
15:49:55 [2024-04-22T19:49:55.165Z] ghprbTriggerAuthorLoginMention=@vijaysun-omr
15:49:55 [2024-04-22T19:49:55.165Z] BUILDSPEC=linux_riscv64_cross
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullAuthorLoginMention=@hzongaro
15:49:55 [2024-04-22T19:49:55.165Z] ghprbActualCommitAuthor=
15:49:55 [2024-04-22T19:49:55.165Z] JENKINS_SERVER_COOKIE=durable-e6e52fd0532e1a7a33d799dd1df5c89310c8995816760dc6ccfd69b24d3678c2
15:49:55 [2024-04-22T19:49:55.165Z] ghprbGhRepository=eclipse/omr
15:49:55 [2024-04-22T19:49:55.165Z] WORKSPACE=/home/jenkins/workspace/Build
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullLongDescription=If the [`findOrCreateTreeInfo`](https://github.com/eclipse/omr/blob/8037ccd0406c017f6a8043a8d04e19ac68f626f2/compiler/optimizer/DeadTreesElimination.cpp#L66) function fails to find a `TreeInfo` object that refers to a particular `TR::TreeTop` in the `targetTrees` `List`, it allocates a new `TreeTop` instance using `trStackMemory`.  However, `findOrCreateTreeInfo` is called within a call tree from [`DeadTreesElimination::process`](https://github.com/eclipse/omr/blob/8037ccd0406c017f6a8043a8d04e19ac68f626f2/compiler/optimizer/DeadTreesElimination.cpp#L759).  The `process` method [creates a new `TR::StackMemoryRegion`](https://github.com/eclipse/omr/blob/8037ccd0406c017f6a8043a8d04e19ac68f626f2/compiler/optimizer/DeadTreesElimination.cpp#L761) on entry to the method, but the `targetTrees` `List` has a lifetime that extends for the duration of the optimization.  (The `_targetTrees` is first constructed in the [`DeadTreesElimination` constructor](https://github.com/eclipse/omr/blob/8037ccd0406c017f6a8043a8d04e19ac68f626f2/compiler/optimizer/DeadTreesElimination.cpp#L435-L437) and is only cleared in the [`prePerformOnBlocks`](https://github.com/eclipse/omr/blob/8037ccd0406c017f6a8043a8d04e19ac68f626f2/compiler/optimizer/DeadTreesElimination.cpp#L477) method.\r\n\r\nThe `TreeInfo` objects should be allocated from the same `TR::Region` that the `List` uses for allocation of its nodes to ensure that their lifetime is as long as that of the containing `List` object.\r\n\r\nFixes:  Issue eclipse-openj9/openj9#19197
15:49:55 [2024-04-22T19:49:55.165Z] ghprbCredentialsId=github-bot-token
15:49:55 [2024-04-22T19:49:55.165Z] NODE_NAME=ub20-x64-omr9
15:49:55 [2024-04-22T19:49:55.165Z] RUN_ARTIFACTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1389/display/redirect?page=artifacts
15:49:55 [2024-04-22T19:49:55.165Z] STAGE_NAME=Queue
15:49:55 [2024-04-22T19:49:55.165Z] EXECUTOR_NUMBER=0
15:49:55 [2024-04-22T19:49:55.165Z] GIT_BRANCH=deadTreesElimination-TreeInfo-allocation
15:49:55 [2024-04-22T19:49:55.165Z] ghprbTriggerAuthorLogin=vijaysun-omr
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullAuthorLogin=hzongaro
15:49:55 [2024-04-22T19:49:55.165Z] BUILD_DISPLAY_NAME=#1389
15:49:55 [2024-04-22T19:49:55.165Z] RUN_TESTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1389/display/redirect?page=tests
15:49:55 [2024-04-22T19:49:55.165Z] ghprbTriggerAuthor=Vijay Sundaresan
15:49:55 [2024-04-22T19:49:55.165Z] JOB_BASE_NAME=PullRequest-linux_riscv64_cross
15:49:55 [2024-04-22T19:49:55.165Z] HUDSON_HOME=/var/jenkins
15:49:55 [2024-04-22T19:49:55.165Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
15:49:55 [2024-04-22T19:49:55.165Z] sha1=origin/pr/7305/merge
15:49:55 [2024-04-22T19:49:55.165Z] BUILD_ID=1389
15:49:55 [2024-04-22T19:49:55.165Z] OS=debian11
15:49:55 [2024-04-22T19:49:55.165Z] BUILD_TAG=jenkins-PullRequest-linux_riscv64_cross-1389
15:49:55 [2024-04-22T19:49:55.165Z] ghprbCommentBody=jenkins build riscv
15:49:55 [2024-04-22T19:49:55.165Z] JENKINS_URL=https://ci.eclipse.org/omr/
15:49:55 [2024-04-22T19:49:55.165Z] JOB_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullTitle=Allocate TreeInfo objects using TR::Region of containing List
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullLink=https://github.com/eclipse/omr/pull/7305
15:49:55 [2024-04-22T19:49:55.165Z] BUILD_NUMBER=1389
15:49:55 [2024-04-22T19:49:55.165Z] JENKINS_NODE_COOKIE=a45ff2a1-c9ea-4520-bca8-7abf13d80641
15:49:55 [2024-04-22T19:49:55.165Z] ghprbActualCommitAuthorEmail=
15:49:55 [2024-04-22T19:49:55.165Z] ghprbAuthorRepoGitUrl=https://github.com/hzongaro/omr.git
15:49:55 [2024-04-22T19:49:55.165Z] RUN_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1389/display/redirect
15:49:55 [2024-04-22T19:49:55.165Z] HUDSON_SERVER_COOKIE=c3663d0c112c2ee2
15:49:55 [2024-04-22T19:49:55.165Z] JOB_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/display/redirect
15:49:55 [2024-04-22T19:49:55.165Z] ghprbTargetBranch=master
15:49:55 [2024-04-22T19:49:55.165Z] CLASSPATH=
15:49:55 [2024-04-22T19:49:55.165Z] JOB_NAME=PullRequest-linux_riscv64_cross
15:49:55 [2024-04-22T19:49:55.165Z] PWD=/home/jenkins/workspace/Build
15:49:55 [2024-04-22T19:49:55.165Z] IMAGE_NAME=riscv-crosscompile
15:49:55 [2024-04-22T19:49:55.165Z] ghprbPullId=7305
15:49:55 [2024-04-22T19:49:55.165Z] WORKSPACE_TMP=/home/jenkins/workspace/Build@tmp
15:49:55 [2024-04-22T19:49:55.165Z] TZ=America/Toronto
15:49:55 [2024-04-22T19:49:55.165Z] GITLAB_OBJECT_KIND=none
15:49:55 [2024-04-22T19:49:55.165Z] OMR_RUNNING_IN_DOCKER=1