OSDN Git Service

ART: Add CheckJNI lock checking
authorAndreas Gampe <agampe@google.com>
Mon, 28 Sep 2015 20:16:33 +0000 (13:16 -0700)
committerAndreas Gampe <agampe@google.com>
Mon, 5 Oct 2015 15:57:32 +0000 (08:57 -0700)
commit5f4a09a54eed55de89e194780214a2acfd2cb431
tree20194da9f2963a98f0265a25172aa9a61b52c2c8
parent1aba494df441c31836e5b7d4d8e408420a93cb8d
ART: Add CheckJNI lock checking

JNI MonitorEnter and MonitorExit have similar rules to structured
locking. Count locks in CheckJNI mode.

Bug: 23502994
Change-Id: Ie3f53d3aa669a6bd0c7153c50c168116b43764d9
runtime/check_jni.cc
runtime/class_linker.h
runtime/entrypoints/quick/quick_jni_entrypoints.cc
runtime/jni_env_ext.cc
runtime/jni_env_ext.h
runtime/jni_internal_test.cc