Skip to content

Conversation

@shushanhf
Copy link
Contributor

Add aligned attribute for g_SyncBlockCacheInstance to avoid unaligned accessing error on some CPUs.

This PR is also part of the issue #69705 to amend the LA's port.

to avoid unaligned accessing error on some CPUs.
@ghost ghost added area-VM-coreclr community-contribution Indicates that the PR has been added by a community member labels Apr 24, 2023
@shushanhf
Copy link
Contributor Author

tests again.

@shushanhf shushanhf reopened this Apr 24, 2023
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@shushanhf shushanhf changed the title add aligned attribute for g_SyncBlockCacheInstance to avoid unaligned accessing error on some CPUs. refactor the g_SyncBlockCacheInstance for aligned Apr 25, 2023
@jkotas jkotas merged commit 12b041b into dotnet:main Apr 25, 2023
@shushanhf shushanhf deleted the align_global branch April 25, 2023 07:19
@ghost ghost locked as resolved and limited conversation to collaborators May 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-VM-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants