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

Move memory layout and common methods of AlignedHeapSegment to AlignedHeapSegmentBase #1510

Open
wants to merge 2 commits into
base: static_h
Choose a base branch
from

Conversation

lavenzg
Copy link
Contributor

@lavenzg lavenzg commented Sep 6, 2024

Summary:
The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 6, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61675022

@lavenzg lavenzg force-pushed the export-D61675022-to-static_h branch from d72cbd2 to dc062c7 Compare October 21, 2024 23:08
lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 21, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61675022

lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 21, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 21, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 21, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 21, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 22, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Nov 8, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Nov 8, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Nov 8, 2024
…dHeapSegmentBase (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both AlignedHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
lavenzg added a commit to lavenzg/hermes that referenced this pull request Dec 3, 2024
… class (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both FixedSizeHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
@lavenzg lavenzg force-pushed the export-D61675022-to-static_h branch from dc062c7 to 6440690 Compare December 3, 2024 00:12
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61675022

lavenzg added a commit to lavenzg/hermes that referenced this pull request Dec 3, 2024
… class (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both FixedSizeHeapSegment and
JumboHeapSegment inherit from the base type.

Differential Revision: D61675022
@lavenzg lavenzg force-pushed the export-D61675022-to-static_h branch from 6440690 to 2617ce6 Compare December 3, 2024 22:39
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61675022

Summary:
With this change, we can remove the dependency on GCCell.h in the
header.

Reviewed By: neildhar

Differential Revision: D66727534
… class (facebook#1510)

Summary:

The large heap segment type should have the same storage layout as
current AlignedHeapSegment, and share a few common methods. Abstract
these to a base class, and make both FixedSizeHeapSegment and
JumboHeapSegment inherit from the base type.

Reviewed By: neildhar

Differential Revision: D61675022
@lavenzg lavenzg force-pushed the export-D61675022-to-static_h branch from 2617ce6 to d27151b Compare December 6, 2024 22:43
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61675022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants