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

Correct signature of JVM_VirtualThread functions #15717

Merged
merged 1 commit into from Aug 17, 2022

Conversation

keithc-ca
Copy link
Contributor

They all expect three parameters (not just one); see jvm.h.

@tajila
Copy link
Contributor

tajila commented Aug 16, 2022

jenkins compile win jdk19

@tajila
Copy link
Contributor

tajila commented Aug 16, 2022

jenkins test sanity amac jdk19

@@ -236,25 +236,25 @@ JVM_IsPreviewEnabled(void)
}

JNIEXPORT void JNICALL
JVM_VirtualThreadMountBegin(JNIEnv *env)
JVM_VirtualThreadMountBegin(JNIEnv *env, jobject vthread, jboolean first_mount)
Copy link
Contributor

Choose a reason for hiding this comment

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

minor thing with the param naming:

please change first_mount to firstMount and same for the others

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll change the names to match those used by related functions in thread.cpp.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

They each expect three parameters (not just one).

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
@tajila
Copy link
Contributor

tajila commented Aug 17, 2022

jenkins test sanity amac jdk19

@tajila tajila merged commit 0f98b16 into eclipse-openj9:master Aug 17, 2022
@keithc-ca keithc-ca deleted the virtual branch August 17, 2022 14:45
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.

None yet

2 participants