Skip to content

[Distributed] make remote proxy allocation minimally small #73099

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Apr 18, 2024

Description: Remote proxy objects currently are allocated as large as a real actor instance; Instead, they should be allocated just large enough to contain the required fields.

Radar: rdar://81825648

@ktoso ktoso force-pushed the wip-distributed-proxy-size branch from 54e72a8 to 2743c6f Compare April 18, 2024 01:42
fprintf(stderr, "[%s:%d](%s) initialize remote, size: %d\n", __FILE_NAME__, __LINE__, __FUNCTION__,
metadata->getInstanceSize());
fprintf(stderr, "[%s:%d](%s) initialize remote, align mask: %d\n", __FILE_NAME__, __LINE__, __FUNCTION__,
metadata->getInstanceAlignMask());
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: remove prints when we cleanup

@ktoso ktoso requested a review from mikeash April 18, 2024 01:54
@ktoso ktoso added the distributed Feature → concurrency: distributed actor label Apr 18, 2024
@ktoso ktoso marked this pull request as draft June 14, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed Feature → concurrency: distributed actor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant