Lines Matching refs:jmethodID

1174 // Lookup or create a jmethodID.
1179 jmethodID instanceKlass::get_jmethod_id(instanceKlassHandle ik_h, methodHandle method_h) {
1181 jmethodID* jmeths = ik_h->methods_jmethod_ids_acquire();
1183 jmethodID id = NULL;
1190 // thread. We also use release_store_ptr() to save a new jmethodID
1191 // in the cache so a partially constructed jmethodID should never be
1193 // lock, but cache writes of a new jmethodID requires uniqueness and
1232 jmethodID to_dealloc_id = NULL;
1233 jmethodID* to_dealloc_jmeths = NULL;
1236 jmethodID* new_jmeths = NULL;
1240 new_jmeths = NEW_C_HEAP_ARRAY(jmethodID, size+1, mtClass);
1241 memset(new_jmeths, 0, (size+1)*sizeof(jmethodID));
1243 new_jmeths[0] = (jmethodID)size;
1246 // allocate a new jmethodID that might be used
1247 jmethodID new_id = NULL;
1285 // Common code to fetch the jmethodID from the cache or update the
1286 // cache with the new jmethodID. This function should never do anything
1290 jmethodID instanceKlass::get_jmethod_id_fetch_or_update(
1291 instanceKlassHandle ik_h, size_t idnum, jmethodID new_id,
1292 jmethodID* new_jmeths, jmethodID* to_dealloc_id_p,
1293 jmethodID** to_dealloc_jmeths_p) {
1302 jmethodID* jmeths = ik_h->methods_jmethod_ids_acquire();
1303 jmethodID id = NULL;
1317 // fetch jmethodID (if any) from the existing cache
1322 // No matching jmethodID in the existing cache or we have a new
1324 // by the first thread to win the foot race because a jmethodID
1328 // The jmethodID cache can be read while unlocked so we have to
1329 // make sure the new jmethodID is complete before installing it
1339 // Common code to get the jmethodID cache length and the jmethodID
1342 void instanceKlass::get_jmethod_id_length_value(jmethodID* cache,
1343 size_t idnum, size_t *length_p, jmethodID* id_p) {
1353 *id_p = cache[idnum+1]; // fetch jmethodID (if any)
1358 // Lookup a jmethodID, NULL if not found. Do no blocking, no allocations, no handles
1359 jmethodID instanceKlass::jmethod_id_or_null(methodOop method) {
1361 jmethodID* jmeths = methods_jmethod_ids_acquire();
1363 jmethodID id = NULL;
1430 // have to be unique like a jmethodID. If there is a race to set it,
1898 jmethodID* jmeths = methods_jmethod_ids_acquire();
1899 if (jmeths != (jmethodID*)NULL) {