summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorMitch Phillips <mitchp@google.com>2020-04-13 11:37:49 -0700
committerMitch Phillips <mitchp@google.com>2020-08-14 18:02:49 +0000
commit55de6c75fd03b57aa5d942020c331a7bc0d4f55e (patch)
tree4596fcd8c5cb50f6b8a7db3fe7b2155c0170d388 /rs/java/android/renderscript/ProgramStore.java
parentffd7fdeba1ee017d8f177edf6aeb4d5f8cd7be80 (diff)
Check 64-to-32-bit transition in system_server for Tagged Ptrs [#2].
The check whether the system (kernel) supports Tagged Pointers is done in the 64-bit system server. This can spawn 32-bit apps, and we think that the app supports tagged pointers. There's no good way to check the compatibility in the child before we spawn it, so we do the next best thing. If we know the child won't support it (i.e. the child is 32-bit), we don't ask for Tagged Ptrs. Otherwise, if the parent supports tagged pointers, and there's no bitness transition, the child should also support. Bug: 153114333 Test: Build flame, launch 64-bit apps that spawns 32-bit subprocesses, verify that you get no 're-enabling tagging' messages. Test: atest -a CtsTaggingHostTestCases Change-Id: Ida6aa56093de6b6b03e78e6295bea546219ad864 Merged-In: Ida6aa56093de6b6b03e78e6295bea546219ad864
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions