OSDN Git Service

* jni.cc (nathash, nathash_count, nathash_size): New globals.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2001 19:52:02 +0000 (19:52 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Aug 2001 19:52:02 +0000 (19:52 +0000)
commit4265a08351e56affd091ca08ec8381c247719ae6
tree72ebcb6066ec1399589094123d3264ca44d2b537
parent60387ffc2308b4005aaf40652675356fa887c73d
* jni.cc (nathash, nathash_count, nathash_size): New globals.
(DELETED_ENTRY): New define.
(hash): New function.
(nathash_find_slot): Likewise.
(natrehash): Likewise.
(nathash_add): Likewise.
(_Jv_JNI_RegisterNatives): No longer interpreter-specific.  Use
nathash_add.
(nathash_find): New function.
(_Jv_LookupJNIMethod): Use it.  Synchronize body.
(call): Synchronize around assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45060 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/jni.cc