runtime icon indicating copy to clipboard operation
runtime copied to clipboard

tailcall_v4\hijacking\hijacking.cmd fails in arm64

Open ramarag opened this issue 10 years ago • 6 comments

BEGIN EXECUTION "Z:\arm64\new\corerun.exe" hijacking.exe Executed 34 GCs Executed 6 tail calls before failing Expected: 100 Actual: 101 END EXECUTION - FAILED FAILED

@briansull please investigate\assign this to the proper dev

ramarag avatar Apr 06 '16 22:04 ramarag

@rartemev Could you investigate whether this test case is valid? There is a concern that it may only be passing on x64/x86 because of the stronger memory ordering guarantees that are not guaranteed by ECMA 335 or the ARM64 CLR. If the test case is indeed valid and correct, we'll need to understand why it fails to make progress for ARM64.

RussKeldorph avatar May 25 '17 00:05 RussKeldorph

How much time does it usually take to be failed? I cannot reproduce the bug because execution is hanging on right after invoking "Thread.Sleep()" from Main thread.

rartemev avatar May 31 '17 23:05 rartemev

Currently this test will not fail. It will run indefinitely.

jashook avatar May 31 '17 23:05 jashook

Right "failure" means "test runner times out" in this case. Sorry if that wasn't clear.

RussKeldorph avatar May 31 '17 23:05 RussKeldorph

This appears fixed by dotnet/coreclr#12047

sdmaclea avatar Sep 06 '17 22:09 sdmaclea

The original problem with fully interruptible code is fixed by dotnet/coreclr#12047 so there is no reason left to hang on.

C:\Users\rartemev>timecmd.bat C:\Users\rartemev\Desktop\Tests\Core_Root\Corerun.exe C:\Users\rartemev\Desktop\Tests\tailcall_v4\hijacking\hijacking.exe
Executed 31269 GCs
Executed 2105195275 tail calls
PASS
command took 0:1:11.29 (71.29s total)

The average execution time is about 70 seconds.

rartemev avatar Oct 07 '17 00:10 rartemev