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

Align heap for GS if necessary only #3280

Merged
merged 1 commit into from
Oct 15, 2018

Conversation

dmitripivkine
Copy link
Contributor

Usage of GS requires special heap alignments. Usage of Software Barriers
does not have such restrictions as well as calls of
j9gs_enable()/j9gs_disable()

Signed-off-by: Dmitri Pivkine [email protected]

@dmitripivkine
Copy link
Contributor Author

This feature would be activated in OMR eclipse-omr/omr#3067

@@ -677,45 +677,50 @@ MM_CollectorLanguageInterfaceImpl::scavenger_switchConcurrentForThread(MM_Enviro

if (_extensions->scavenger->isConcurrentInProgress()) {
Assert_MM_true(NULL != _extensions->scavenger);
Copy link
Contributor

Choose a reason for hiding this comment

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

while changing the file, please use _extensions->isConcurrentScavengerInProgress() and remove the assert

Copy link
Contributor

Choose a reason for hiding this comment

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

isConcurrentInProgress() should rely be private but you don't need to change it now

@dmitripivkine
Copy link
Contributor Author

Jenkins test sanity zLinux jdk8

Usage of GS requires special heap alignments. Usage of Software Barriers
does not have such restrictions as well as calls of
j9gs_enable()/j9gs_disable()

Signed-off-by: Dmitri Pivkine <[email protected]>
@dmitripivkine
Copy link
Contributor Author

Jenkins test sanity zLinux jdk8

@amicic amicic merged commit d2b42ea into eclipse-openj9:master Oct 15, 2018
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.

2 participants