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

Fix condition for disabling extra checks in verify_class_overrides #101445

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

AustinWise
Copy link
Contributor

@AustinWise AustinWise commented Apr 23, 2024

ENABLE_CHECKED_BUILD is defined to mean "Enable additional checks" and is enabled in checked and debug builds. Therefore this performance optimization should be enabled when ENABLE_CHECKED_BUILD is not defined. This was introduced in #101312.

This PR also removes some comments that were introduced in an earlier revision of #101312 that are no longer relevant.

CC @kg

`ENABLE_CHECKED_BUILD` is defined to mean "Enable additional checks" and is enabled in checked and debug builds. Therefore this performance optimization be enabled when `ENABLE_CHECKED_BUILD` is *not* defined. Ref: dotnet#101312
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Apr 23, 2024
@kg
Copy link
Contributor

kg commented Apr 23, 2024

Good catch, thank you for cleaning up my mess :)

@kg kg merged commit 9aaf602 into dotnet:main Apr 24, 2024
74 of 80 checks passed
@AustinWise AustinWise deleted the patch-1 branch April 24, 2024 04:21
@AustinWise
Copy link
Contributor Author

Good catch, thank you

Thanks for all the recent PRs that improve the startup time of WASM apps!

matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
…ides (dotnet#101445)

`ENABLE_CHECKED_BUILD` is defined to mean "Enable additional checks" and is enabled in checked and debug builds. Therefore this performance optimization should be enabled when `ENABLE_CHECKED_BUILD` is *not* defined. Ref: dotnet#101312
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
…ides (dotnet#101445)

`ENABLE_CHECKED_BUILD` is defined to mean "Enable additional checks" and is enabled in checked and debug builds. Therefore this performance optimization should be enabled when `ENABLE_CHECKED_BUILD` is *not* defined. Ref: dotnet#101312
@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono 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.

None yet

3 participants