Skip to content

[mono][aot] Avoid compiling the same method multiple times during dedup.#91802

Merged
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:dedup-collect
Sep 8, 2023
Merged

[mono][aot] Avoid compiling the same method multiple times during dedup.#91802
vargaz merged 1 commit into
dotnet:mainfrom
vargaz:dedup-collect

Conversation

@vargaz

@vargaz vargaz commented Sep 8, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@kotlarmilos kotlarmilos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

Question -- Hash key is MonoMethod *method. Would the same method from two assemblies share the pointer? Probably not?

Comment thread src/mono/mono/mini/aot-compiler.c Outdated
@vargaz

vargaz commented Sep 8, 2023

Copy link
Copy Markdown
Contributor Author

LGTM, thanks!

Question -- Hash key is MonoMethod *method. Would the same method from two assemblies share the pointer? Probably not?

These methods are generic instances, there is only one MonoMethod for each.

@vargaz

vargaz commented Sep 8, 2023

Copy link
Copy Markdown
Contributor Author

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vargaz

vargaz commented Sep 16, 2023

Copy link
Copy Markdown
Contributor Author

/backport to release/8.0

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/6207700844

@ghost ghost locked as resolved and limited conversation to collaborators Oct 16, 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.

3 participants