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

Eliminate vm.heapBaseAddress() #5757

Merged
merged 2 commits into from
Feb 5, 2021
Merged

Conversation

dchopra001
Copy link
Contributor

@dchopra001 dchopra001 commented Jan 19, 2021

This commit removes OMR::VMEnv::heapBaseAddress() as this routine always returns 0. It was introduced in the codebase early on in the codebase and has since been superseded by a shift-based solution. Hence this is no longer needed. See eclipse-openj9/openj9#11263 for original issue and discussion.

Signed-off-by: Dhruv Chopra Dhruv.C.Chopra@ibm.com

@Leonardo2718
Copy link
Contributor

What's the reason for doing this? The commit message doesn't have a description.

@dchopra001
Copy link
Contributor Author

What's the reason for doing this? The commit message doesn't have a description.

Sorry about that I've updated it now.

This commit removes OMR::VMEnv::heapBaseAddress() as this
routine always returns 0. It was introduced in the codebase
early on in the codebase and has since been superseded by
a shift-based solution. Hence it no longer needed.

Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
- Remove changeHeapBaseConstToLoad routine
- Remove translatedNode search

Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>
@fjeremic
Copy link
Contributor

@genie-omr build all

@fjeremic fjeremic merged commit adc01bb into eclipse-omr:master Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants