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

WIP Optimize j9shr_storeGCHints() to avoid storing unchanged data #4214

Closed
wants to merge 1 commit into from

Conversation

pshipton
Copy link
Member

@pshipton pshipton commented Jan 9, 2019

Related to #4168 and #3743

Signed-off-by: Peter Shipton Peter_Shipton@ca.ibm.com

@pshipton
Copy link
Member Author

pshipton commented Jan 9, 2019

jenkins test sanity zlinux jdk11

Related to eclipse-openj9#4168 and eclipse-openj9#3743

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton
Copy link
Member Author

pshipton commented Jan 9, 2019

The zlinux testing passed. Rebasing to pick up the Windows compile fix #4213 so Windows can be tested.

@pshipton
Copy link
Member Author

pshipton commented Jan 9, 2019

jenkins test sanity win jdk11

@pshipton
Copy link
Member Author

pshipton commented Jan 9, 2019

@keithc-ca can you please take a look

vm->sharedClassConfig->localStartupHints.hintsData.heapSize1 = heapSize1;
vm->sharedClassConfig->localStartupHints.hintsData.heapSize2 = heapSize2;
vm->sharedClassConfig->localStartupHints.hintsData.flags |= J9SHR_STARTUPHINTS_HEAPSIZES_SET;
if (!heapSizesSet || (forceReplace && ((heapSize1 != hintsData->heapSize1) || (heapSize2 != hintsData->heapSize2)))) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This changes the meaning of the parameter forceReplace: the name should be changed to match the new behavior (here and where this function and pointers to it are declared).

@pshipton pshipton changed the title Optimize j9shr_storeGCHints() to avoid storing unchanged data WIP Optimize j9shr_storeGCHints() to avoid storing unchanged data Jan 28, 2019
@pshipton pshipton closed this Apr 12, 2019
@pshipton pshipton deleted the opts branch May 31, 2019 18:14
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.

None yet

2 participants