Open ViktorHofer opened 3 years ago
Tagging subscribers to this area: @buyaa-n, @krwq See info in area-owners.md if you want to be subscribed.
Author: | ViktorHofer |
---|---|
Assignees: | - |
Labels: | `area-System.Xml` |
Milestone: | - |
First failure according to AzDO is 197cfb6 and last successful one 27baae9, so something in this range: https://github.com/dotnet/runtime/compare/27baae9...197cfb6.
Seems to be specific to mono, will disable the test for now.
The only commit that looks related is https://github.com/dotnet/runtime/commit/a7a2fd6543ff71cecbbfe901b81ee27a6cf428c0 by @kouvel.
/cc @lambdageek
Adding the disabled-test label.
Hmm. The code to perform the adjustment depends on GCMemoryInfo
and it's used here:
@kouvel how would this behave if the GCMemoryInfo data wasn't right? @naricc did we implement all of these GCMemoryInfo properties?
@radekdoulik I don't understand what's going on withGCMemoryInfo.MemoryLoadBytes
here
https://github.com/dotnet/runtime/commit/93cf5df65fc13bfbc29256acc8c9c0e102a1170b
@radekdoulik I don't understand what's going on with
GCMemoryInfo.MemoryLoadBytes
here
It calculates the load bytes as total - available
size and scales it by max_heap/physical_ram_size
ratio if max_heap
is used.
@lambdageek Yes, we did implement all the GCMemoryInfo properties. Although there is no way to garauntee they behave 100 % the same as in CoreGC, given the different garbage collectors.
The GC memory info is only used as a heuristic in https://github.com/dotnet/runtime/commit/a7a2fd6543ff71cecbbfe901b81ee27a6cf428c0, when low memory is detected it would fall back to the same behavior as before the change
Log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-53023-merge-09de05e127d14c2590/System.Xml.RW.XmlReader.Tests/console.8899153b.log?sv=2019-07-07&se=2021-06-30T07%3A54%3A32Z&sr=c&sp=rl&sig=4sF7Do1BpO1vQhTHcfHI7xG2DgPyABmjKhe4jrUrXrg%3D
Configuration:
net6.0-Linux-Debug-x64-Mono_release-(Centos.8.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-8-helix-20201229003624-c1bf759