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

Disable VAR_HANDLE_GUARDS optimization in OpenJ9 #11767

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

babsingh
Copy link
Contributor

The VAR_HANDLE_GUARDS optimization is disabled in OpenJ9. Refer to
#11582 for more details on why this optimization needs to be disabled.

VarHandles are only enabled in JDK11+ so the VAR_HANDLE_GUARDS system
property only needs to be disabled in JDK11+.

Related: #11582, #7352

Co-authored-by: Jack Lu Jack.S.Lu@ibm.com
Signed-off-by: Babneet Singh sbabneet@ca.ibm.com

The VAR_HANDLE_GUARDS optimization is disabled in OpenJ9. Refer to
eclipse-openj9#11582 for more details on why
this optimization needs to be disabled.

VarHandles are only enabled in JDK11+ so the VAR_HANDLE_GUARDS system
property only needs to be disabled in JDK11+.

Related: eclipse-openj9#11582

Co-authored-by: Jack Lu <Jack.S.Lu@ibm.com>
Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
@babsingh
Copy link
Contributor Author

babsingh commented Jan 27, 2021

@gacholio can you please review this PR? Also, needs to be tagged with project:MH.

@gacholio
Copy link
Contributor

As there are no existing builds for this feature, and all the new code is under ifdef, I'm merging this.

@gacholio gacholio merged commit 914eae4 into eclipse-openj9:master Jan 27, 2021
@babsingh
Copy link
Contributor Author

babsingh commented Jan 27, 2021

As there are no existing builds for this feature, and all the new code is under ifdef, I'm merging this.

Running PR builds is not possible at this point. A number of PRs still need to be merged before PR builds can be launched. Once those PRs are merged, PR builds can be launched using one of the ojdk292 specs: https://github.com/eclipse/openj9/blob/347742aafccf029f1f25d779da1bebf561a3fcbb/buildenv/jenkins/jobs/pipelines/Pipeline-Build-Test-All.groovy#L229-L253

@pshipton pshipton added comp:vm project:MH Used to track Method Handles related work labels Jan 27, 2021
@babsingh babsingh deleted the disable_vhguards branch January 29, 2021 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm project:MH Used to track Method Handles related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants