-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 MonoClass:inlinearray_value out of MonoClass #109363
Conversation
@dotnet-policy-service agree |
Thanks for the contribution @syfFerdinand ! |
/cc @steveisok |
…into fix/move-inlinearray-value
…alue for PROP_INLINEARRAY_VALUE
@kg can you please give this a review? |
Note #109612 added the actual offset files. Any updates should go into these. |
Hi @kg and @steveisok, |
I've never dealt with this problem before, but it appears that if you download each of the offsets artifacts I linked to, it will be a ZIP file with updated versions of the .h files in it. You would then check in these new .h files to update the offsets. I don't think you want to manually edit the offsets. |
Unless I'm completely mistaken, we don't auto-generate the offsets any longer and they need to be updated in tree. @akoeplinger is that correct? |
We generate them in PR builds so you can just download and check in the updated offsets, like @kg mentioned. This is the message on the build, let me know if I can make it clearer:
edit I just noticed that the name of the artifacts in the message is not right, it's |
To match the message in the build log, see #109363 (comment)
Thank you all for your assistance and guidance throughout this process. I have updated the offset files with the latest versions from the build artifacts and committed the changes. Is there anything else that needs to be corrected or adjusted? |
Once the necessary tests pass I think we should be good. I'll keep an eye on it. |
To match the message in the build log, see #109363 (comment)
Out of memory issues on the wasm lanes are common, so I don't think the librarytests lane failure indicates a bug you created. |
Thank you for your contribution! |
Summary
This PR addresses issue #103913 by moving the inlinearray_value property from MonoClass to the infrequent_data structure. This change aims to optimize memory usage by storing rarely used properties in a less frequently accessed structure.
Details
inlinearray_value
fromMonoClass
toMonoPropertyBag
within theinfrequent_data
structure.inlinearray_value
access to use the new structure.Related Issue
Fixes #103913