Skip to content

Console Output

16:43:26 [2024-04-22T20:43:26.658Z] + printenv
16:43:26 [2024-04-22T20:43:26.658Z] ARCH=riscv64
16:43:26 [2024-04-22T20:43:26.658Z] JENKINS_HOME=/var/jenkins
16:43:26 [2024-04-22T20:43:26.658Z] ghprbSourceBranch=deadTreesElimination-TreeInfo-allocation
16:43:26 [2024-04-22T20:43:26.658Z] ghprbTriggerAuthorEmail=vijaysun@ca.ibm.com
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullAuthorEmail=
16:43:26 [2024-04-22T20:43:26.658Z] CROSS_SYSROOT_RISCV64=/opt/sysroot
16:43:26 [2024-04-22T20:43:26.658Z] CI=true
16:43:26 [2024-04-22T20:43:26.658Z] HOSTNAME=35a6b7f2d7e9
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullDescription=GitHub pull request #7305 of commit 149b87236bf890ad3e39dffdd71bd17d69102cd7, no merge conflicts.
16:43:26 [2024-04-22T20:43:26.658Z] RUN_CHANGES_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1390/display/redirect?page=changes
16:43:26 [2024-04-22T20:43:26.658Z] HUDSON_URL=https://ci.eclipse.org/omr/
16:43:26 [2024-04-22T20:43:26.658Z] ghprbActualCommit=149b87236bf890ad3e39dffdd71bd17d69102cd7
16:43:26 [2024-04-22T20:43:26.658Z] NODE_LABELS=Linux compile:arm:cross x86 UNB compile:aarch64:cross cgroup.v2 compile:riscv64:cross ub20-x64-omr9 compile:xlinux
16:43:26 [2024-04-22T20:43:26.658Z] HOME=/home/jenkins
16:43:26 [2024-04-22T20:43:26.658Z] BUILD_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1390/
16:43:26 [2024-04-22T20:43:26.658Z] ghprbTriggerAuthorLoginMention=@vijaysun-omr
16:43:26 [2024-04-22T20:43:26.658Z] BUILDSPEC=linux_riscv64_cross
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullAuthorLoginMention=@hzongaro
16:43:26 [2024-04-22T20:43:26.658Z] ghprbActualCommitAuthor=
16:43:26 [2024-04-22T20:43:26.658Z] JENKINS_SERVER_COOKIE=durable-e6e52fd0532e1a7a33d799dd1df5c89310c8995816760dc6ccfd69b24d3678c2
16:43:26 [2024-04-22T20:43:26.658Z] ghprbGhRepository=eclipse/omr
16:43:26 [2024-04-22T20:43:26.658Z] WORKSPACE=/home/jenkins/workspace/Build
16:43:26 [2024-04-22T20:43:26.658Z] 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
16:43:26 [2024-04-22T20:43:26.658Z] NODE_NAME=ub20-x64-omr9
16:43:26 [2024-04-22T20:43:26.658Z] ghprbCredentialsId=github-bot-token
16:43:26 [2024-04-22T20:43:26.658Z] RUN_ARTIFACTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1390/display/redirect?page=artifacts
16:43:26 [2024-04-22T20:43:26.658Z] STAGE_NAME=Queue
16:43:26 [2024-04-22T20:43:26.658Z] EXECUTOR_NUMBER=0
16:43:26 [2024-04-22T20:43:26.658Z] GIT_BRANCH=deadTreesElimination-TreeInfo-allocation
16:43:26 [2024-04-22T20:43:26.658Z] ghprbTriggerAuthorLogin=vijaysun-omr
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullAuthorLogin=hzongaro
16:43:26 [2024-04-22T20:43:26.658Z] BUILD_DISPLAY_NAME=#1390
16:43:26 [2024-04-22T20:43:26.658Z] RUN_TESTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1390/display/redirect?page=tests
16:43:26 [2024-04-22T20:43:26.658Z] ghprbTriggerAuthor=Vijay Sundaresan
16:43:26 [2024-04-22T20:43:26.658Z] HUDSON_HOME=/var/jenkins
16:43:26 [2024-04-22T20:43:26.658Z] JOB_BASE_NAME=PullRequest-linux_riscv64_cross
16:43:26 [2024-04-22T20:43:26.658Z] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16:43:26 [2024-04-22T20:43:26.658Z] sha1=origin/pr/7305/merge
16:43:26 [2024-04-22T20:43:26.658Z] BUILD_ID=1390
16:43:26 [2024-04-22T20:43:26.658Z] OS=debian11
16:43:26 [2024-04-22T20:43:26.658Z] BUILD_TAG=jenkins-PullRequest-linux_riscv64_cross-1390
16:43:26 [2024-04-22T20:43:26.658Z] JENKINS_URL=https://ci.eclipse.org/omr/
16:43:26 [2024-04-22T20:43:26.658Z] ghprbCommentBody=jenkins build riscv
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullTitle=Allocate TreeInfo objects using TR::Region of containing List
16:43:26 [2024-04-22T20:43:26.658Z] JOB_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/
16:43:26 [2024-04-22T20:43:26.658Z] BUILD_NUMBER=1390
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullLink=https://github.com/eclipse/omr/pull/7305
16:43:26 [2024-04-22T20:43:26.658Z] JENKINS_NODE_COOKIE=0aa09c3e-47b6-4e17-a537-de5403eb3ce5
16:43:26 [2024-04-22T20:43:26.658Z] ghprbAuthorRepoGitUrl=https://github.com/hzongaro/omr.git
16:43:26 [2024-04-22T20:43:26.658Z] ghprbActualCommitAuthorEmail=
16:43:26 [2024-04-22T20:43:26.658Z] RUN_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/1390/display/redirect
16:43:26 [2024-04-22T20:43:26.658Z] HUDSON_SERVER_COOKIE=c3663d0c112c2ee2
16:43:26 [2024-04-22T20:43:26.658Z] ghprbTargetBranch=master
16:43:26 [2024-04-22T20:43:26.658Z] JOB_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_riscv64_cross/display/redirect
16:43:26 [2024-04-22T20:43:26.658Z] CLASSPATH=
16:43:26 [2024-04-22T20:43:26.658Z] JOB_NAME=PullRequest-linux_riscv64_cross
16:43:26 [2024-04-22T20:43:26.658Z] PWD=/home/jenkins/workspace/Build
16:43:26 [2024-04-22T20:43:26.658Z] ghprbPullId=7305
16:43:26 [2024-04-22T20:43:26.658Z] IMAGE_NAME=riscv-crosscompile
16:43:26 [2024-04-22T20:43:26.658Z] WORKSPACE_TMP=/home/jenkins/workspace/Build@tmp
16:43:26 [2024-04-22T20:43:26.658Z] TZ=America/Toronto
16:43:26 [2024-04-22T20:43:26.658Z] GITLAB_OBJECT_KIND=none
16:43:26 [2024-04-22T20:43:26.658Z] OMR_RUNNING_IN_DOCKER=1