Skip to content

Conversation

@janvorli
Copy link
Member

Recent change in the ThreadLocalModule::AllocateDynamicClass has accidentally removed zeroing for new CollectibleDynamicEntry instances. That leads to crashes when running code in an unloadable context.
It got exposed by weekly coreclr test runs with the runincontext option.

This change fixes that.

Recent change in the `ThreadLocalModule::AllocateDynamicClass` has
accidentally removed zeroing for new  CollectibleDynamicEntry instances.
That leads to crashes when running code in an unloadable context.

This change fixes that.
@janvorli janvorli added this to the 8.0.0 milestone Jan 18, 2023
@janvorli janvorli requested a review from jkoritzinsky January 18, 2023 23:21
@janvorli janvorli self-assigned this Jan 18, 2023
@janvorli janvorli merged commit 620099d into dotnet:main Jan 19, 2023
@janvorli janvorli deleted the fix-dynamic-class-zeroing branch January 19, 2023 13:47
mdh1418 pushed a commit to mdh1418/runtime that referenced this pull request Jan 24, 2023
Recent change in the `ThreadLocalModule::AllocateDynamicClass` has
accidentally removed zeroing for new  CollectibleDynamicEntry instances.
That leads to crashes when running code in an unloadable context.

This change fixes that.
@ghost ghost locked as resolved and limited conversation to collaborators Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants