Skip to content

Console Output

14:54:48 [2024-04-22T18:54:48.327Z] + printenv
14:54:48 [2024-04-22T18:54:48.327Z] ghprbPullId=7305
14:54:48 [2024-04-22T18:54:48.327Z] JENKINS_NODE_COOKIE=dd1a4aa9-ea5b-4b63-92ee-f699ec675dad
14:54:48 [2024-04-22T18:54:48.327Z] ghprbPullLink=https://github.com/eclipse/omr/pull/7305
14:54:48 [2024-04-22T18:54:48.327Z] XDG_SESSION_ID=128213
14:54:48 [2024-04-22T18:54:48.327Z] BUILD_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/4401/
14:54:48 [2024-04-22T18:54:48.327Z] SHELL=/bin/bash
14:54:48 [2024-04-22T18:54:48.327Z] TERM=dumb
14:54:48 [2024-04-22T18:54:48.327Z] HUDSON_SERVER_COOKIE=c3663d0c112c2ee2
14:54:48 [2024-04-22T18:54:48.327Z] ghprbSourceBranch=deadTreesElimination-TreeInfo-allocation
14:54:48 [2024-04-22T18:54:48.327Z] STAGE_NAME=Queue
14:54:48 [2024-04-22T18:54:48.327Z] SSH_CLIENT=198.41.30.213 50804 22
14:54:48 [2024-04-22T18:54:48.327Z] BUILD_TAG=jenkins-PullRequest-linux_390-64-4401
14:54:48 [2024-04-22T18:54:48.327Z] ghprbPullAuthorLogin=hzongaro
14:54:48 [2024-04-22T18:54:48.327Z] GTEST_COLOR=0
14:54:48 [2024-04-22T18:54:48.327Z] JOB_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/
14:54:48 [2024-04-22T18:54:48.327Z] WORKSPACE=/home/omr/workspace/Build
14:54:48 [2024-04-22T18:54:48.327Z] RUN_CHANGES_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/4401/display/redirect?page=changes
14:54:48 [2024-04-22T18:54:48.327Z] ghprbPullDescription=GitHub pull request #7305 of commit 149b87236bf890ad3e39dffdd71bd17d69102cd7, no merge conflicts.
14:54:48 [2024-04-22T18:54:48.327Z] ghprbAuthorRepoGitUrl=https://github.com/hzongaro/omr.git
14:54:48 [2024-04-22T18:54:48.327Z] USER=omr
14:54:48 [2024-04-22T18:54:48.327Z] ghprbTriggerAuthorLoginMention=@hzongaro
14:54:48 [2024-04-22T18:54:48.327Z] OPENJ9_JAVA_COMMAND_LINE=java -Xmx1g -Xdump:system:none -Xdump:heap:none -Xdump:java:none -Xdump:snap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -Xdump:java:events=gpf+user+abort+traceassert+corruptcache -Xdump:snap:events=gpf+abort+traceassert+corruptcache -jar remoting.jar -workDir /home/omr -jar-cache /home/omr/remoting/jarCache
14:54:48 [2024-04-22T18:54:48.327Z] RUN_ARTIFACTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/4401/display/redirect?page=artifacts
14:54:48 [2024-04-22T18:54:48.327Z] ghprbCommentBody=Jenkins build all
14:54:48 [2024-04-22T18:54:48.327Z] ghprbPullTitle=Allocate TreeInfo objects using TR::Region of containing List
14:54:48 [2024-04-22T18:54:48.327Z] JENKINS_HOME=/var/jenkins
14:54:48 [2024-04-22T18:54:48.327Z] PATH=/usr/lib/ccache/:/home/omr/jdk11/bin:/usr/local/bin:/usr/bin
14:54:48 [2024-04-22T18:54:48.327Z] MAIL=/var/mail/omr
14:54:48 [2024-04-22T18:54:48.327Z] RUN_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/4401/display/redirect
14:54:48 [2024-04-22T18:54:48.327Z] _=/usr/bin/printenv
14:54:48 [2024-04-22T18:54:48.327Z] ghprbPullAuthorLoginMention=@hzongaro
14:54:48 [2024-04-22T18:54:48.327Z] PWD=/home/omr/workspace/Build
14:54:48 [2024-04-22T18:54:48.327Z] HUDSON_URL=https://ci.eclipse.org/omr/
14:54:48 [2024-04-22T18:54:48.327Z] LANG=en_US.UTF-8
14:54:48 [2024-04-22T18:54:48.327Z] JOB_NAME=PullRequest-linux_390-64
14:54:48 [2024-04-22T18:54:48.327Z] GITLAB_OBJECT_KIND=none
14:54:48 [2024-04-22T18:54:48.327Z] sha1=origin/pr/7305/merge
14:54:48 [2024-04-22T18:54:48.327Z] BUILD_DISPLAY_NAME=#4401
14:54:48 [2024-04-22T18:54:48.327Z] JENKINS_URL=https://ci.eclipse.org/omr/
14:54:48 [2024-04-22T18:54:48.327Z] BUILD_ID=4401
14:54:48 [2024-04-22T18:54:48.327Z] ghprbActualCommit=149b87236bf890ad3e39dffdd71bd17d69102cd7
14:54:48 [2024-04-22T18:54:48.327Z] JOB_BASE_NAME=PullRequest-linux_390-64
14:54:48 [2024-04-22T18:54:48.327Z] RUN_TESTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/4401/display/redirect?page=tests
14:54:48 [2024-04-22T18:54:48.327Z] SHLVL=3
14:54:48 [2024-04-22T18:54:48.327Z] HOME=/home/omr
14:54:48 [2024-04-22T18:54:48.327Z] GIT_BRANCH=deadTreesElimination-TreeInfo-allocation
14:54:48 [2024-04-22T18:54:48.327Z] CI=true
14:54:48 [2024-04-22T18:54:48.327Z] WORKSPACE_TMP=/home/omr/workspace/Build@tmp
14:54:48 [2024-04-22T18:54:48.327Z] EXECUTOR_NUMBER=0
14:54:48 [2024-04-22T18:54:48.327Z] JENKINS_SERVER_COOKIE=durable-cda0c381d83a427289b5746bbb96a0233691580dc8bd5ae0284959965b0b65c0
14:54:48 [2024-04-22T18:54:48.327Z] NODE_LABELS=Linux compile:zlinux 390 rh7-s390x-03
14:54:48 [2024-04-22T18:54:48.327Z] LOGNAME=omr
14:54:48 [2024-04-22T18:54:48.327Z] ghprbTriggerAuthor=Henry Zongaro
14:54:48 [2024-04-22T18:54:48.327Z] HUDSON_HOME=/var/jenkins
14:54:48 [2024-04-22T18:54:48.327Z] SSH_CONNECTION=198.41.30.213 50804 148.100.85.95 22
14:54:48 [2024-04-22T18:54:48.327Z] 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
14:54:48 [2024-04-22T18:54:48.327Z] NODE_NAME=rh7-s390x-03
14:54:48 [2024-04-22T18:54:48.327Z] LESSOPEN=||/usr/bin/lesspipe.sh %s
14:54:48 [2024-04-22T18:54:48.327Z] ghprbTargetBranch=master
14:54:48 [2024-04-22T18:54:48.327Z] JOB_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-linux_390-64/display/redirect
14:54:48 [2024-04-22T18:54:48.327Z] BUILD_NUMBER=4401
14:54:48 [2024-04-22T18:54:48.327Z] BUILDSPEC=linux_390-64
14:54:48 [2024-04-22T18:54:48.327Z] HUDSON_COOKIE=17d2ba72-8967-410f-928a-2bfa0a498a8b
14:54:48 [2024-04-22T18:54:48.327Z] XDG_RUNTIME_DIR=/run/user/1003
14:54:48 [2024-04-22T18:54:48.327Z] ghprbTriggerAuthorLogin=hzongaro
14:54:48 [2024-04-22T18:54:48.327Z] ghprbCredentialsId=github-bot-token
14:54:48 [2024-04-22T18:54:48.327Z] ghprbGhRepository=eclipse/omr