summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2019-06-19 12:58:22 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2019-06-26 20:22:39 +0000
commit21d5994583c679cd5d8573b5d35dbd659bdca2c7 (patch)
tree521906398a2f04048cc51b4f409b6a3ebc0c6ffa /compiler/optimizing/optimizing_compiler.cc
parent5dfbe7ae9ed9a1a82446d32118190105a211a2d2 (diff)
Support using opaque JNI ids
Currently JNI ids (jmethodID & jfieldID) are created by simply casting the corresponding ART structure pointer. This is great for simplicity but means we are prevented from performing operations that could change these pointer values. To support these use-cases add support for loading the runtime with a layer of indirection between these ids and the internal art data types. Currently the JNI id type can be toggled only by passing the new '-Xopaque-jni-ids:{true,false}' flag during startup. This changes the --debuggable test configuration to pass '-Xopaque-jni-ids:true' in order to get test coverage of this feature using the 'art-jit' configuration. Test: ./test.py --host --debuggable Test: ./test.py --host --debuggable --jit-on-first-use Test: ./test/testrunnner/run_build_test_target.py art-jit Bug: 134162467 Change-Id: Id8c8cb9a5b8ff18dc2f40892fae2d344a7214f44
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions