Skip to content

Conversation

@bhavanisn
Copy link
Contributor

@bhavanisn bhavanisn commented Jun 1, 2022

This fixes an issue with the code generated for containers with
-XX:+PortableSharedCache option. AOT code generated on P8 uses
pTOC and if the same container is used on P10 environment causes
a crash as pTOC is not there on P10. The fix will generate
materialize sequence of instructions when -XX:+PortableSharedCache
option is enabled and not pTOC.

Port of eclipse-omr/omr#6523 for the 0.33 release.

Signed-off-by: Bhavani SN bhavani.sn@ibm.com

This fixes an issue with the code generated for containers with
-XX:+PortableSharedCache option. AOT code generated on P8 uses
pTOC and if the same container is used on P10 environment causes
a crash as pTOC is not there on P10. The fix will generate
materialize sequence of instructions when -XX:+PortableSharedCache
option is enabled and not pTOC.

Signed-off-by: Bhavani SN <bhavani.sn@ibm.com>
@bhavanisn
Copy link
Contributor Author

@zl-wang @ymanton

Copy link
Contributor

@zl-wang zl-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@pshipton pshipton changed the title Fix usage of pTOC with portableSCC code run in P10 container (0.33) Fix usage of pTOC with portableSCC code run in P10 container Jun 1, 2022
@pshipton pshipton merged commit e7d8549 into eclipse-openj9:v0.33.0-release Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants