Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zOS UpcallThunkGen function stubs #15873

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

joransiu
Copy link
Member

Add empty stub function implementations for upcall thunk generation support to allow OpenJ9 to build on z/OS with spec version >= 16.

Actual implementation of the upcall thunks to be implemented in the future.

Signed-off-by: Joran Siu joransiu@ca.ibm.com

@joransiu
Copy link
Member Author

@ChengJin01 / @tajila : Can you review? Thanks!

@joransiu
Copy link
Member Author

I have tested this with SPEC 17 internally on z/OS, and build now completes successfully:

[100%] Building C object runtime/verbose/CMakeFiles/j9vrb_full.dir/__/copyright.c.o
[100%] Linking CXX shared library ../libj9vrb_full29.so
[100%] Built target j9vrb_full
OpenJ9 compile complete

@ChengJin01
Copy link

ChengJin01 commented Sep 12, 2022

Overall, the changes Look good to me.

void *
createUpcallThunk(J9UpcallMetaData *metaData)
{
// Return the thunk descriptor

Choose a reason for hiding this comment

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

Please replace the comment // with /*...*/.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in dae6849. Thx!

Add empty stub function implementations for upcall thunk generation
support to allow OpenJ9 to build on z/OS with spec version >= 16.

Actual implementation of the upcall thunks to be implemented in the future.

Signed-off-by: Joran Siu <joransiu@ca.ibm.com>
@joransiu
Copy link
Member Author

@tajila : Can you review when you get a chance? Would like to get zOS builds working again. Thanks!

@tajila
Copy link
Contributor

tajila commented Sep 19, 2022

I guess there isnt a PR build that we can run to test this ATM

@tajila tajila merged commit 2184d05 into eclipse-openj9:master Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants