Fix running some run-tests with -Xjitthreshold:0

Do not JIT non-compilable methods. Honor the $noinline$
directive for JIT and fix core image recognition.

Make sure the 597-deopt-invoke-stub that actually relies on
its own -Xjitthreshold: overrides the threshold we pass,
work around already running compiled code in 570-checker-osr
(and drop obsolete "doThrow" pattern replaced by $noinline$)
and add a few necessary $noinline$ directives.

Partial cherry-pick of commit be0c7cfdbb2b73d6beb1284fdedb8e07766630e9.

Test: for t in \
        461-get-reference-vreg \
        536-checker-needs-access-check \
        570-checker-osr \
        597-deopt-invoke-stub \
        655-jit-clinit \
      ; do \
        art/test/run-test --host --jit $t \
          --runtime-option -Xjitthreshold:0; \
      done
Test: testrunner.py --host --jit
Bug: 62611253
Merged-In: Ia0a05c93e3fc8d913fe8556d3d7f23e7e61076c2
Change-Id: Ia0a05c93e3fc8d913fe8556d3d7f23e7e61076c2
1 file changed