summaryrefslogtreecommitdiffstats
path: root/vm/Thread.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-08-24 16:08:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-08-24 16:08:23 -0700
commit073bedf5f6c48571659dfb2d6fef7b01a0698308 (patch)
tree3c3b622acb75f6f71dd52f624ce5f93df4fd85ed /vm/Thread.h
parentfe1be87f9ebe2a5477dfd8cae317c3b6757066bf (diff)
parent0083d37b0e1c9e542f671cbca2e9db6819ecccba (diff)
downloadandroid_dalvik-073bedf5f6c48571659dfb2d6fef7b01a0698308.tar.gz
android_dalvik-073bedf5f6c48571659dfb2d6fef7b01a0698308.tar.bz2
android_dalvik-073bedf5f6c48571659dfb2d6fef7b01a0698308.zip
am 0083d37b: Use local references for native method args.
Merge commit '0083d37b0e1c9e542f671cbca2e9db6819ecccba' * commit '0083d37b0e1c9e542f671cbca2e9db6819ecccba': Use local references for native method args.
Diffstat (limited to 'vm/Thread.h')
-rw-r--r--vm/Thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/Thread.h b/vm/Thread.h
index bff73164a..2271c11a0 100644
--- a/vm/Thread.h
+++ b/vm/Thread.h
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
/*
* VM thread support.
*/
@@ -22,7 +23,7 @@
#include "jni.h"
#if defined(CHECK_MUTEX) && !defined(__USE_UNIX98)
-/* Linux lacks this unless you #define __USE_UNIX98 */
+/* glibc lacks this unless you #define __USE_UNIX98 */
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);
enum { PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP };
#endif
@@ -151,7 +152,6 @@ typedef struct Thread {
ReferenceTable internalLocalRefTable;
/* JNI local reference tracking */
- // TODO: move this to JNIEnvExt to avoid an indirection?
ReferenceTable jniLocalRefTable;
/* JNI native monitor reference tracking (initialized on first use) */