Commit 7a69505c authored by Vladimir Marko's avatar Vladimir Marko
Browse files

Rewrite null checks in read barrier introspection thunks.

Rely on the implicit null check in the fast path.

Test: Manual; run-test --gdb 160, break in the introspection
      entrypoint, find the mf.testField0000 read barrier
      code in the caller (this one has a stack map for null
      check, most other reads do not need one), break there,
      step into the thunk, overwrite the base register with
      0 and observe the NPE being thrown. Repeat with --64.
Test: Pixel 2 XL boots.
Test: testrunner.py --target --optimizing
Bug: 36141117
Change-Id: I61f879f22f5697a4108f1021eb0e3add742c8755
parent 6c353399
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment