OSDN Git Service

ART: Add test for DetachCurrentThread monitor behavior
authorAndreas Gampe <agampe@google.com>
Thu, 3 Dec 2015 18:56:18 +0000 (10:56 -0800)
committerAndreas Gampe <agampe@google.com>
Thu, 3 Dec 2015 18:58:08 +0000 (10:58 -0800)
commitb8c4f033a29c16583ef9511f9a6e815caf0e64da
treeed25757bdeea4152f12492091f2b6a2390d6021c
parent68cebffee2f44f0345bd7be7e4cbad0f10e64082
ART: Add test for DetachCurrentThread monitor behavior

DetachCurrentThread is supposed to release any locks acquired through
JNI. The functionality has been there, add a test.

Bug: 20453586
Change-Id: I537f38e3e4003fe0846d037dbb235f2ea6ff8716
runtime/jni_internal_test.cc