Skip to content

Crossgen outerloop regression: JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests/ObjectStackAllocationTests.cmd #109314

@kg

Description

@kg

JIT/opt/ObjectStackAllocation/ObjectStackAllocationTests/ObjectStackAllocationTests.cmd fails on the crossgen outerloop lanes. It looks like an object is being heap allocated that isn't expected to be, but that might be normal and expected for crossgen?

Return code:      1
Raw output file:      C:\h\w\A5E609B0\w\AB7508F1\uploads\ObjectStackAllocation\ObjectStackAllocationTests\output.txt
Raw output:
BEGIN EXECUTION
ObjectStackAllocationTests.dll
        1 file(s) copied.
 7:03:05.78
Response file: C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\\composite-r2r.dll.rsp
C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\IL-CG2\*.dll
-o:C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\\composite-r2r.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:\h\w\A5E609B0\p\System.*.dll
-r:C:\h\w\A5E609B0\p\Microsoft.*.dll
-r:C:\h\w\A5E609B0\p\xunit.*.dll
-r:C:\h\w\A5E609B0\p\mscorlib.dll
-r:C:\h\w\A5E609B0\p\netstandard.dll
"Running CrossGen2:  "C:\h\w\A5E609B0\p\crossgen2\crossgen2.exe" @"C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\\composite-r2r.dll.rsp"   --composite  --composite"
Emitting R2R PE file: C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\\composite-r2r.dll
Emitting R2R PE file: C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\ObjectStackAllocationTests.dll
"Running R2RDump:  "dotnet" "C:\h\w\A5E609B0\p\r2rdump\r2rdump.dll" --header --sc --in C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\\composite-r2r.dll --out C:\h\w\A5E609B0\w\AB7508F1\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\\composite-r2r.dll.r2rdump --val"
 7:03:06.34
 "C:\h\w\A5E609B0\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ObjectStackAllocationTests.dll 
System.InvalidOperationException: Unexpected allocation: 48 bytes
   at ObjectStackAllocation.Tests.EnsureZeroAllocated(Int64 before)
   at ObjectStackAllocation.Tests.ZeroAllocTest()
   at ObjectStackAllocation.Tests.TestEntryPoint()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions