Skip to content

Conversation

@hez2010
Copy link
Contributor

@hez2010 hez2010 commented Aug 18, 2023

Removed the obsoleted policy.

/cc:@EgorBo

@ghost ghost added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member labels Aug 18, 2023
@ghost
Copy link

ghost commented Aug 18, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Introduce a switch to enable optimizations for cctors.

The plan is to leverage this switch to measure startup performance of some real-world applications, so I would like to ship this switch in net8.0.

Author: hez2010
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@hez2010 hez2010 marked this pull request as draft August 18, 2023 13:28
@hez2010 hez2010 marked this pull request as ready for review August 18, 2023 14:45
@jkotas
Copy link
Member

jkotas commented Aug 18, 2023

The plan is to leverage this switch to measure startup performance of some real-world applications, so I would like to ship this switch in net8.0.

You can build your clrjit.dll with this change, replace it in your .NET 8 setup and measure it that way. This change does not meet the bar for .NET 8 backport.

@hez2010 hez2010 changed the title Introduce a switch to use FullOpts for cctors JIT: Remove the minopts policy against cctors Aug 19, 2023
@EgorBo
Copy link
Member

EgorBo commented Aug 20, 2023

I needed opts in CCTORs for my prototype that replaces allocators with frozen allocators but I guess doing that in R2R only is fine.

@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone Sep 1, 2023
@JulieLeeMSFT JulieLeeMSFT merged commit 31fc330 into dotnet:main Sep 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI 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.

4 participants