commit | df20fe0c097073f75f22d16e72fd3636a31d3ca1 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Jul 20 20:34:16 2011 -0700 |
committer | Ian Rogers <irogers@google.com> | Thu Jul 21 10:50:18 2011 -0700 |
tree | a960361ff7e6eeaf5962cc515e142b18da4176b3 | |
parent | 176f59cd8997a0491ea5ccdea8e9dfff85dd32d6 [diff] |
Support for synchronized native methods. This change adds support for synchronized native methods by using calls to MonitorEnter and MonitorExit on the JNIEnv*. There is some tidying of the assembler and a straw man JNIEnv implementation. The JNIEnv implementation just warns when MonitorEnter/Exit are called and doesn't adhere to the correct JNIEnv layout. Change-Id: I90ed6ec8f85f5b01b929f16e0dbdecadd0b01359