Skip to content

Console Output

14:54:48 [2024-04-22T18:54:48.879Z] + printenv
14:54:48 [2024-04-22T18:54:48.880Z] _=/opt/freeware/bin/printenv
14:54:48 [2024-04-22T18:54:48.880Z] ghprbTriggerAuthorLogin=hzongaro
14:54:48 [2024-04-22T18:54:48.880Z] LANG=C
14:54:48 [2024-04-22T18:54:48.880Z] GTEST_COLOR=0
14:54:48 [2024-04-22T18:54:48.880Z] JOB_BASE_NAME=PullRequest-aix_ppc-64
14:54:48 [2024-04-22T18:54:48.880Z] LOGIN=omr
14:54:48 [2024-04-22T18:54:48.880Z] CCACHE_CPP2=1
14:54:48 [2024-04-22T18:54:48.880Z] ghprbCommentBody=Jenkins build all
14:54:48 [2024-04-22T18:54:48.880Z] OPENJ9_JAVA_COMMAND_LINE=java -jar remoting.jar -workDir /home/omr -jar-cache /home/omr/remoting/jarCache
14:54:48 [2024-04-22T18:54:48.880Z] CLCMD_PASSTHRU=1
14:54:48 [2024-04-22T18:54:48.880Z] PATH=/home/u0020236/tools:/opt/cmake-3.17.1/bin:/opt/IBM/xlC/13.1.3/bin:/opt/freeware/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/opt/java11_64/bin:/opt/bin
14:54:48 [2024-04-22T18:54:48.880Z] MALLOCOPTIONS=multiheap,considersize
14:54:48 [2024-04-22T18:54:48.880Z] RES_RETRY=2
14:54:48 [2024-04-22T18:54:48.880Z] ghprbPullAuthorLoginMention=@hzongaro
14:54:48 [2024-04-22T18:54:48.880Z] BUILD_NUMBER=4018
14:54:48 [2024-04-22T18:54:48.880Z] 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.880Z] RUN_TESTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/4018/display/redirect?page=tests
14:54:48 [2024-04-22T18:54:48.880Z] NODE_LABELS=aix ppc compile:aix p8-java1-ibm11
14:54:48 [2024-04-22T18:54:48.880Z] ghprbTriggerAuthorLoginMention=@hzongaro
14:54:48 [2024-04-22T18:54:48.880Z] sha1=origin/pr/7305/merge
14:54:48 [2024-04-22T18:54:48.880Z] LC__FASTMSG=true
14:54:48 [2024-04-22T18:54:48.880Z] ghprbPullId=7305
14:54:48 [2024-04-22T18:54:48.880Z] HUDSON_COOKIE=3bfa03aa-2dfa-43b1-9ec2-84fb6a7b17c7
14:54:48 [2024-04-22T18:54:48.880Z] EDITOR=/usr/bin/vi
14:54:48 [2024-04-22T18:54:48.880Z] ghprbCredentialsId=github-bot-token
14:54:48 [2024-04-22T18:54:48.880Z] LOGNAME=omr
14:54:48 [2024-04-22T18:54:48.880Z] BUILD_ID=4018
14:54:48 [2024-04-22T18:54:48.880Z] BUILD_TAG=jenkins-PullRequest-aix_ppc-64-4018
14:54:48 [2024-04-22T18:54:48.880Z] EXECUTOR_NUMBER=0
14:54:48 [2024-04-22T18:54:48.880Z] RES_TIMEOUT=5
14:54:48 [2024-04-22T18:54:48.880Z] JOB_NAME=PullRequest-aix_ppc-64
14:54:48 [2024-04-22T18:54:48.880Z] ghprbAuthorRepoGitUrl=https://github.com/hzongaro/omr.git
14:54:48 [2024-04-22T18:54:48.880Z] MAIL=/var/spool/mail/omr
14:54:48 [2024-04-22T18:54:48.880Z] ghprbPullDescription=GitHub pull request #7305 of commit 149b87236bf890ad3e39dffdd71bd17d69102cd7, no merge conflicts.
14:54:48 [2024-04-22T18:54:48.880Z] JENKINS_URL=https://ci.eclipse.org/omr/
14:54:48 [2024-04-22T18:54:48.880Z] LOCPATH=/usr/lib/nls/loc
14:54:48 [2024-04-22T18:54:48.880Z] RUN_ARTIFACTS_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/4018/display/redirect?page=artifacts
14:54:48 [2024-04-22T18:54:48.880Z] HUDSON_HOME=/var/jenkins
14:54:48 [2024-04-22T18:54:48.880Z] HUDSON_URL=https://ci.eclipse.org/omr/
14:54:48 [2024-04-22T18:54:48.880Z] JENKINS_NODE_COOKIE=31a2cca9-2120-4aa1-a97c-88bc082d8671
14:54:48 [2024-04-22T18:54:48.880Z] ghprbTriggerAuthor=Henry Zongaro
14:54:48 [2024-04-22T18:54:48.880Z] CI=true
14:54:48 [2024-04-22T18:54:48.880Z] USER=omr
14:54:48 [2024-04-22T18:54:48.880Z] JENKINS_SERVER_COOKIE=durable-cda0c381d83a427289b5746bbb96a0233691580dc8bd5ae0284959965b0b65c0
14:54:48 [2024-04-22T18:54:48.880Z] AUTHSTATE=compat
14:54:48 [2024-04-22T18:54:48.880Z] HUDSON_SERVER_COOKIE=c3663d0c112c2ee2
14:54:48 [2024-04-22T18:54:48.880Z] BUILDSPEC=aix_ppc-64
14:54:48 [2024-04-22T18:54:48.880Z] ghprbSourceBranch=deadTreesElimination-TreeInfo-allocation
14:54:48 [2024-04-22T18:54:48.880Z] RUN_CHANGES_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/4018/display/redirect?page=changes
14:54:48 [2024-04-22T18:54:48.880Z] SHELL=/usr/bin/ksh
14:54:48 [2024-04-22T18:54:48.880Z] ghprbPullLink=https://github.com/eclipse/omr/pull/7305
14:54:48 [2024-04-22T18:54:48.880Z] JOB_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/
14:54:48 [2024-04-22T18:54:48.880Z] WORKSPACE=/home/omr/workspace/Build
14:54:48 [2024-04-22T18:54:48.880Z] ODMDIR=/etc/objrepos
14:54:48 [2024-04-22T18:54:48.880Z] HOME=/home/omr
14:54:48 [2024-04-22T18:54:48.880Z] NODE_NAME=p8-java1-ibm11
14:54:48 [2024-04-22T18:54:48.880Z] ghprbPullTitle=Allocate TreeInfo objects using TR::Region of containing List
14:54:48 [2024-04-22T18:54:48.880Z] WORKSPACE_TMP=/home/omr/workspace/Build@tmp
14:54:48 [2024-04-22T18:54:48.880Z] GITLAB_OBJECT_KIND=none
14:54:48 [2024-04-22T18:54:48.880Z] JENKINS_HOME=/var/jenkins
14:54:48 [2024-04-22T18:54:48.880Z] BUILD_DISPLAY_NAME=#4018
14:54:48 [2024-04-22T18:54:48.880Z] SSH_CLIENT=198.41.30.213 57136 22
14:54:48 [2024-04-22T18:54:48.880Z] SSH_CONNECTION=198.41.30.213 57136 140.211.9.181 22
14:54:48 [2024-04-22T18:54:48.880Z] STAGE_NAME=Queue
14:54:48 [2024-04-22T18:54:48.880Z] GIT_BRANCH=deadTreesElimination-TreeInfo-allocation
14:54:48 [2024-04-22T18:54:48.880Z] PWD=/home/omr/workspace/Build
14:54:48 [2024-04-22T18:54:48.880Z] JOB_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/display/redirect
14:54:48 [2024-04-22T18:54:48.880Z] TZ=CUT0
14:54:48 [2024-04-22T18:54:48.880Z] RUN_DISPLAY_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/4018/display/redirect
14:54:48 [2024-04-22T18:54:48.880Z] ghprbPullAuthorLogin=hzongaro
14:54:48 [2024-04-22T18:54:48.880Z] ghprbGhRepository=eclipse/omr
14:54:48 [2024-04-22T18:54:48.880Z] BUILD_URL=https://ci.eclipse.org/omr/job/PullRequest-aix_ppc-64/4018/
14:54:48 [2024-04-22T18:54:48.880Z] ghprbTargetBranch=master
14:54:48 [2024-04-22T18:54:48.880Z] ghprbActualCommit=149b87236bf890ad3e39dffdd71bd17d69102cd7
14:54:48 [2024-04-22T18:54:48.880Z] NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/%l.%c/%N:/usr/lib/nls/msg/%l.%c/%N.cat
14:54:48 [2024-04-22T18:54:48.880Z] LIBPATH=.