-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jitted Methods Counting Test Fails When Hardware Intrinsics are Disabled #93261
Comments
Tagging subscribers to this area: @hoyosjs Issue DetailsTracking issue following up #93163. The above-mentioned issue exposed a bug with the Jitted Methods Counting Test, regarding Hardware Intrinsics. When - Normal Mode The reason to have these two modes is that if we simply set the acceptance level high enough for the no-intrinsics version, then the normal version will lose its purpose, as we expect many less methods there. Additionally, as part of the migration to the new test system, the Jitted Methods Counting Test ended up in some sort of weird floating-around and is always skipped in normal test runs. Will have to fix that as well here. For general information and context, here's how to build and run the test locally. # Build the runtime and libraries.
./build.sh --subset clr+libs --runtimeConfiguration Checked --librariesConfiguration Release
# Build the tests and core root.
src/tests/build.sh -x64 -checked -generatelayoutonly
src/tests/build.sh -x64 -checked -priority1 -test:readytorun/JittedMethodsCountingTest/JittedMethodsCountingTest.csproj
# Setup and run the tests.
cd artifacts/tests/coreclr/linux.x64.Checked
export CORE_ROOT=$(pwd)/Tests/Core_Root
./readytorun/JittedMethodsCountingTest/JittedMethodsCountingTest.sh
|
@trylek FYI |
There are other env. variables that have same effect. For example, I expect the test to fail on x64 if |
Oh okok got it. Then let me change it so that it's disabled as well when |
Tracking issue following up #93163.
The above-mentioned issue exposed a bug with the Jitted Methods Counting Test, regarding Hardware Intrinsics. When
DOTNET_EnableHWIntrinsic=0
, there is a much higher JIT activity, which in turn returns a much higher amount of jitted methods than the test was designed for. As per @jkotas' feedback,DOTNET_EnableHWIntrinsic=0
has a similar effect toDOTNET_ReadyToRun=0
, so this test ought not be run in those cases.For general information and context, here's how to build and run the test locally.
The text was updated successfully, but these errors were encountered: