public static void onSpinWait()
    {
        if (ON_SPIN_WAIT_ENABLED)
        {
            Thread.onSpinWait();
        }
    }
@Test
    void shouldDoNothingOnSpinWait()
    {
        for (int i = 0; i < 100; i++)
        {
            ThreadHints.onSpinWait();
        }
    }