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

Update GC DDR to Remove Unused GC MemoryPoolHybrid #17106

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

RSalman
Copy link
Contributor

@RSalman RSalman commented Apr 4, 2023

GC MemoryPoolHybrid is being removed in OMR, all references to it must also be removed in OpenJ9.

Signed-off-by: Salman Rana salman.rana@ibm.com

RSalman added a commit to RSalman/omr that referenced this pull request Apr 4, 2023
- Delete MemoryPoolHybrid.hpp/cpp files
- Remove Hybrid Pool specific _heapFreeListCountExtended field from base
class MM_MemoryPoolSplitAddressOrderedListBase

Depends on: eclipse-openj9/openj9#17106

Signed-off-by: Salman Rana <salman.rana@ibm.com>
@RSalman
Copy link
Contributor Author

RSalman commented Apr 4, 2023

@dmitripivkine @amicic please have a look

MemoryPoolHybrid is being removed in OMR, all references to it must also
be removed in OpenJ9.

Signed-off-by: Salman Rana <salman.rana@ibm.com>
RSalman added a commit to RSalman/omr that referenced this pull request Apr 4, 2023
- Delete MemoryPoolHybrid.hpp/cpp files
- Remove Hybrid Pool specific _heapFreeListCountExtended field from base
class MM_MemoryPoolSplitAddressOrderedListBase

Depends on: eclipse-openj9/openj9#17106

Signed-off-by: Salman Rana <salman.rana@ibm.com>
@amicic
Copy link
Contributor

amicic commented Apr 4, 2023

cc: @keithc-ca

@RSalman
Copy link
Contributor Author

RSalman commented Apr 4, 2023

Running some personal builds to verify this won't break anything, will update the PR once everything looks good.

Comment on lines -118 to -128
class DDR_MM_MemoryPoolHybrid : public MM_MemoryPoolHybrid
{
public:
const char * ddrHelper();
};

const char *
DDR_MM_MemoryPoolHybrid::ddrHelper()
{
return this->_typeId;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

My only potential concern is if this was required to force the compiler to properly describe some ancestor class of MM_MemoryPoolHybrid. We'll need to pay close attention to any effects this has on AIX builds.

Copy link
Contributor Author

@RSalman RSalman Apr 5, 2023

Choose a reason for hiding this comment

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

All builds pass, no issues (Axxon: /build_info.php?build_id=48521)

@keithc-ca
Copy link
Contributor

Jenkins compile aix jdk8,jdk17

@keithc-ca keithc-ca merged commit c4afb5c into eclipse-openj9:master Apr 5, 2023
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

4 participants