Skip to content

Conversation

@trylek
Copy link
Member

@trylek trylek commented Feb 21, 2020

This was the main problem after I overcame initial issues with
composite R2R debugging and runtime initialization: for some reason,
console output was weirdly distorted. By selectively compiling
just a subset of the framework I bisected this into
System.Console.get_Out which uses the ldsflda instruction that
Crossgen1 doesn't support. We pretended to support it but did it
incorrectly and so our result didn't match JIT. I have created
the tracking issue

#32663

on implementing the static address as a minor perf optimization
(likely only important in some corner scenarios heavily using
statics).

Thanks

Tomas

This was the main problem after I overcame initial issues with
composite R2R debugging and runtime initialization: for some reason,
console output was weirdly distorted. By selectively compiling
just a subset of the framework I bisected this into
System.Console.get_Out which uses the ldsflda instruction that
Crossgen1 doesn't support. We pretended to support it but did it
incorrectly and so our result didn't match JIT. I have created
the tracking issue

dotnet#32663

on implementing the static address as a minor perf optimization
(likely only important in some corner scenarios heavily using
statics).

Thanks

Tomas
@trylek trylek merged commit 3a88e5a into dotnet:master Feb 21, 2020
@trylek trylek deleted the CorinfoStaticFieldAddressIssue32663 branch February 21, 2020 22:47
@pavel-orekhov
Copy link

Info: Method [10w5d.minimal3]testout1.Func_2() was not compiled because https://github.com/dotnet/runtime/issues/32663: CORINFO_FIELD_STATIC_ADDRESS requires runtime JIT

Such messages prevents from NgenDump with crossgen2 on a broken 10wd5.cs test.
How to get NgenDump for such methods of the 10w5d coreclr's test?

@pavel-orekhov
Copy link

pavel-orekhov commented Jun 25, 2020

@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
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