Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Cache HasFinalizer#3663

Merged
MichalStrehovsky merged 1 commit intodotnet:masterfrom
MichalStrehovsky:cacheHasFinalizer
May 20, 2017
Merged

Cache HasFinalizer#3663
MichalStrehovsky merged 1 commit intodotnet:masterfrom
MichalStrehovsky:cacheHasFinalizer

Conversation

@MichalStrehovsky
Copy link
Member

With some changes I have in flight GetFinalizer in compiler traces
went from "might be worth looking into making this faster" to "we spend
15% of compilation time here".

The answer to HasFinalizer is cheap to cache and reduces the pressure
on GetFinalizer significantly.

With some changes I have in flight `GetFinalizer` in compiler traces
went from "might be worth looking into making this faster" to "we spend
15% of compilation time here".

The answer to `HasFinalizer` is cheap to cache and reduces the pressure
on `GetFinalizer` significantly.
@MichalStrehovsky MichalStrehovsky merged commit c723f00 into dotnet:master May 20, 2017
@MichalStrehovsky MichalStrehovsky deleted the cacheHasFinalizer branch May 20, 2017 01:29
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.

3 participants