summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_optimization_test.cc
diff options
context:
space:
mode:
authorChang Xing <chxing@google.com>2017-07-12 14:53:17 -0700
committerChang Xing <chxing@google.com>2017-07-29 17:15:24 -0700
commitbd208d8e73084b691d9cfbe870120fe53863ce07 (patch)
tree9b2b20a1aeae2cba97a394f7b106ba31dbaf565a /compiler/optimizing/loop_optimization_test.cc
parent83ee165fd4fde2d7939449881159e2e4b5d3b79d (diff)
Read and write constraints for clinit
For clinits executed during pre-compile within a transaction, they are constrained to only be able to access their own static fields because the results of iniitialization relying on static fields, either read or write, of other classes are runtiime determined. Further discussion can be found at b/62887449. When SGET and SPUT series instructions are executed, interpreter will check whether fields are static and does the target match with the transaction owner, if not, abort transaction and throw an exception. Test: make test-art-host -j64 Bug: 62887449 Change-Id: I3e655269c8af5f0b3f2c1841fdd2602c827c2757
Diffstat (limited to 'compiler/optimizing/loop_optimization_test.cc')
0 files changed, 0 insertions, 0 deletions