Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

  • Since runtime settings are read before we had a chance to run dehydration, they cannot go to the dehydrated section. This is a 48-byte penalty per setting on Linux. Hopefully we won't have too many of these.
  • Fix the repro project to enable dehydration. When testing the original change, I used repro project where this worked because of no dehydration. We should mirror the shipping configuration.
  • Add a regression test. Picked a random test as a "victim" so that we don't unnecessarily regress testing time.

Cc @dotnet/ilc-contrib

* Since runtime settings are read before we had a chance to run dehydration, they cannot go to the dehydrated section. This is a 48-byte penalty per setting on Linux. Hopefully we won't have too many of these.
* Fix the repro project to enable dehydration. When testing the original change, I used repro project where this worked because of no dehydration. We should mirror the shipping configuration.
* Add a regression test. Picked a random test as a "victim" so that we don't unnecessarily regress testing time.
@ghost
Copy link

ghost commented Jun 7, 2023

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

Issue Details
  • Since runtime settings are read before we had a chance to run dehydration, they cannot go to the dehydrated section. This is a 48-byte penalty per setting on Linux. Hopefully we won't have too many of these.
  • Fix the repro project to enable dehydration. When testing the original change, I used repro project where this worked because of no dehydration. We should mirror the shipping configuration.
  • Add a regression test. Picked a random test as a "victim" so that we don't unnecessarily regress testing time.

Cc @dotnet/ilc-contrib

Author: MichalStrehovsky
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

```
ld.lld(0,0): error : relocation R_X86_64_64 cannot be used against symbol 'g_compilerEmbeddedKnobsBlob_key_3'; recompile with -fPIC [/__w/1/s/src/tests/nativeaot/CustomMain/CustomMain.csproj]
```
@MichalStrehovsky MichalStrehovsky merged commit d0c2515 into dotnet:main Jun 7, 2023
@MichalStrehovsky MichalStrehovsky deleted the settings branch June 7, 2023 23:40
@ghost ghost locked as resolved and limited conversation to collaborators Jul 8, 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