Lines Matching refs:jenv

114 	JNIEnv *jenv = jc->dtjj_jenv;
118 if ((*jenv)->ExceptionCheck(jenv)) {
119 WRAP_EXCEPTION(jenv);
123 (*jenv)->MonitorEnter(jenv, g_caller_jc);
124 if ((*jenv)->ExceptionCheck(jenv)) {
125 WRAP_EXCEPTION(jenv);
130 (*jenv)->MonitorExit(jenv, g_caller_jc);
131 if ((*jenv)->ExceptionCheck(jenv)) {
132 WRAP_EXCEPTION(jenv);
200 JNIEnv *jenv;
209 jenv = jc->dtjj_jenv;
211 msg = dtj_NewStringNative(jenv, data->dtdda_msg);
212 if ((*jenv)->ExceptionCheck(jenv)) {
249 kind = (*jenv)->NewStringUTF(jenv, dropkind);
250 if ((*jenv)->ExceptionCheck(jenv)) {
251 (*jenv)->DeleteLocalRef(jenv, msg);
254 drop = (*jenv)->NewObject(jenv, g_drop_jc, g_dropinit_jm,
256 (*jenv)->DeleteLocalRef(jenv, kind);
257 (*jenv)->DeleteLocalRef(jenv, msg);
258 if ((*jenv)->ExceptionCheck(jenv)) {
261 (*jenv)->CallVoidMethod(jenv, jc->dtjj_caller, g_drop_jm, drop);
262 (*jenv)->DeleteLocalRef(jenv, drop);
263 if ((*jenv)->ExceptionCheck(jenv)) {
275 JNIEnv *jenv;
286 jenv = jc->dtjj_jenv;
294 fault = (*jenv)->NewStringUTF(jenv, f);
295 if ((*jenv)->ExceptionCheck(jenv)) {
296 (*jenv)->DeleteLocalRef(jenv, probe);
309 msg = dtj_NewStringNative(jenv, data->dteda_msg);
310 if ((*jenv)->ExceptionCheck(jenv)) {
311 (*jenv)->DeleteLocalRef(jenv, probe);
312 (*jenv)->DeleteLocalRef(jenv, fault);
315 error = (*jenv)->NewObject(jenv, g_error_jc, g_errinit_jm,
322 (*jenv)->DeleteLocalRef(jenv, msg);
323 (*jenv)->DeleteLocalRef(jenv, fault);
324 (*jenv)->DeleteLocalRef(jenv, probe);
325 if ((*jenv)->ExceptionCheck(jenv)) {
328 (*jenv)->CallVoidMethod(jenv, jc->dtjj_caller, g_error_jm, error);
329 (*jenv)->DeleteLocalRef(jenv, error);
330 if ((*jenv)->ExceptionCheck(jenv)) {
348 JNIEnv *jenv;
363 jenv = jc->dtjj_jenv;
380 signalName = (*jenv)->NewStringUTF(jenv, signame);
381 if ((*jenv)->ExceptionCheck(jenv)) {
409 status = (*jenv)->NewStringUTF(jenv, statusname);
410 if ((*jenv)->ExceptionCheck(jenv)) {
411 (*jenv)->DeleteLocalRef(jenv, signalName);
415 message = dtj_NewStringNative(jenv, msg);
417 (*jenv)->DeleteLocalRef(jenv, status);
418 (*jenv)->DeleteLocalRef(jenv, signalName);
422 process = (*jenv)->NewObject(jenv, g_process_jc, g_procinit_jm,
424 (*jenv)->DeleteLocalRef(jenv, status);
425 (*jenv)->DeleteLocalRef(jenv, signalName);
426 (*jenv)->DeleteLocalRef(jenv, message);
427 if ((*jenv)->ExceptionCheck(jenv)) {
432 (*jenv)->CallVoidMethod(jenv, process, g_procexit_jm, exit);
433 if ((*jenv)->ExceptionCheck(jenv)) {
434 (*jenv)->DeleteLocalRef(jenv, process);
438 (*jenv)->CallVoidMethod(jenv, jc->dtjj_caller, g_proc_jm, process);
439 (*jenv)->DeleteLocalRef(jenv, process);
443 if ((*jenv)->ExceptionCheck(jenv)) {
448 jthrowable e = (*jenv)->ExceptionOccurred(jenv);
451 (*jenv)->ExceptionClear(jenv);
474 dtj_bytedata(JNIEnv *jenv, uint32_t nbytes, caddr_t addr)
487 return ((*jenv)->NewStringUTF(jenv, ""));
523 return (dtj_NewStringNative(jenv, (char *)addr));
536 dtj_throw_out_of_memory(jenv,
542 jobj = dtj_NewStringNative(jenv, s);
548 jobj = (*jenv)->NewByteArray(jenv, nbytes);
549 if ((*jenv)->ExceptionCheck(jenv)) {
552 (*jenv)->SetByteArrayRegion(jenv, (jbyteArray)jobj, 0, nbytes,
554 if ((*jenv)->ExceptionCheck(jenv)) {
555 WRAP_EXCEPTION(jenv);
556 (*jenv)->DeleteLocalRef(jenv, jobj);
569 JNIEnv *jenv = jc->dtjj_jenv;
575 jobj = (*jenv)->NewObject(jenv, g_int_jc,
579 jobj = (*jenv)->NewObject(jenv, g_int_jc,
584 jobj = (*jenv)->NewObject(jenv, g_int_jc,
589 jobj = (*jenv)->NewObject(jenv, g_long_jc,
594 jobj = dtj_bytedata(jenv, size, addr);
602 jrec = (*jenv)->NewObject(jenv, g_scalar_jc,
604 (*jenv)->DeleteLocalRef(jenv, jobj);
628 JNIEnv *jenv = jc->dtjj_jenv;
687 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
690 if ((*jenv)->ExceptionCheck(jenv)) {
691 WRAP_EXCEPTION(jenv);
703 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
705 if ((*jenv)->ExceptionCheck(jenv)) {
706 WRAP_EXCEPTION(jenv);
709 (*jenv)->CallVoidMethod(jenv, jc->dtjj_caller,
711 (*jenv)->DeleteLocalRef(jenv, jc->dtjj_probedata);
713 if ((*jenv)->ExceptionCheck(jenv)) {
721 (*jenv)->DeleteLocalRef(jenv, jc->dtjj_printa_buffer);
747 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
750 if ((*jenv)->ExceptionCheck(jenv)) {
751 WRAP_EXCEPTION(jenv);
761 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
763 if ((*jenv)->ExceptionCheck(jenv)) {
764 WRAP_EXCEPTION(jenv);
773 if ((*jenv)->ExceptionCheck(jenv)) {
774 WRAP_EXCEPTION(jenv);
777 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
781 if ((*jenv)->ExceptionCheck(jenv)) {
782 WRAP_EXCEPTION(jenv);
790 jbuf = (*jenv)->NewObject(jenv, g_buf_jc,
806 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
809 if ((*jenv)->ExceptionCheck(jenv)) {
810 WRAP_EXCEPTION(jenv);
831 JNIEnv *jenv = jc->dtjj_jenv;
874 jflowkind = (*jenv)->NewStringUTF(jenv, kind);
875 if ((*jenv)->ExceptionCheck(jenv)) {
876 WRAP_EXCEPTION(jenv);
877 (*jenv)->DeleteLocalRef(jenv, jprobe);
885 jflow = (*jenv)->NewObject(jenv, g_flow_jc,
887 (*jenv)->DeleteLocalRef(jenv, jflowkind);
888 if ((*jenv)->ExceptionCheck(jenv)) {
889 WRAP_EXCEPTION(jenv);
890 (*jenv)->DeleteLocalRef(jenv, jprobe);
897 jpdata = (*jenv)->NewObject(jenv, g_pdata_jc, g_pdatainit_jm,
899 (*jenv)->DeleteLocalRef(jenv, jprobe);
900 (*jenv)->DeleteLocalRef(jenv, jflow);
901 if ((*jenv)->ExceptionCheck(jenv)) {
902 WRAP_EXCEPTION(jenv);
935 if ((*jenv)->ExceptionCheck(jenv)) {
936 WRAP_EXCEPTION(jenv);
937 (*jenv)->DeleteLocalRef(jenv, jpdata);
942 (*jenv)->CallVoidMethod(jenv, jpdata, g_pdataadd_jm, jobj);
943 (*jenv)->DeleteLocalRef(jenv, jobj);
944 if ((*jenv)->ExceptionCheck(jenv)) {
945 WRAP_EXCEPTION(jenv);
946 (*jenv)->DeleteLocalRef(jenv, jpdata);
952 dtj_throw_illegal_state(jenv, "unfinished probedata");
953 WRAP_EXCEPTION(jenv);
954 (*jenv)->DeleteLocalRef(jenv, jpdata);
963 if ((*jenv)->ExceptionCheck(jenv)) {
964 WRAP_EXCEPTION(jenv);
1036 JNIEnv *jenv;
1051 jenv = jc->dtjj_jenv;
1059 if ((*jenv)->ExceptionCheck(jenv)) {
1087 jstr = dtj_NewStringNative(jenv, s);
1088 if ((*jenv)->ExceptionCheck(jenv)) {
1089 WRAP_EXCEPTION(jenv);
1092 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
1094 (*jenv)->DeleteLocalRef(jenv, jstr);
1095 if ((*jenv)->ExceptionCheck(jenv)) {
1096 WRAP_EXCEPTION(jenv);
1104 jstr = (*jenv)->NewStringUTF(jenv, s);
1109 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
1112 (*jenv)->DeleteLocalRef(jenv, jstr);
1113 if ((*jenv)->ExceptionCheck(jenv)) {
1114 WRAP_EXCEPTION(jenv);
1124 jstr = (*jenv)->NewStringUTF(jenv, s);
1129 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
1132 (*jenv)->DeleteLocalRef(jenv, jstr);
1133 if ((*jenv)->ExceptionCheck(jenv)) {
1134 WRAP_EXCEPTION(jenv);
1196 JNIEnv *jenv = jc->dtjj_jenv;
1200 jname = (*jenv)->NewStringUTF(jenv, aggdesc->dtagd_name);
1206 cleared = (*jenv)->CallBooleanMethod(jenv,
1208 (*jenv)->DeleteLocalRef(jenv, jname);
1209 if ((*jenv)->ExceptionCheck(jenv)) {
1210 WRAP_EXCEPTION(jenv);
1247 dtj_stddev_total_squares(JNIEnv *jenv, caddr_t addr, uint64_t normal)
1255 val128 = (*jenv)->CallStaticObjectMethod(jenv, g_bigint_jc,
1258 val128 = dtj_int128(jenv, data[3], data[2]);
1264 divisor = (*jenv)->CallStaticObjectMethod(jenv,
1267 val128 = (*jenv)->CallObjectMethod(jenv, tmp,
1269 (*jenv)->DeleteLocalRef(jenv, tmp);
1270 (*jenv)->DeleteLocalRef(jenv, divisor);
1282 dtj_stddev(JNIEnv *jenv, caddr_t addr, uint64_t normal)
1287 total_squares = dtj_stddev_total_squares(jenv, addr, normal);
1288 stddev = (*jenv)->NewObject(jenv, g_aggstddev_jc, g_aggstddevinit_jm,
1290 (*jenv)->DeleteLocalRef(jenv, total_squares);
1311 JNIEnv *jenv = jc->dtjj_jenv;
1324 jstr = dtj_NewStringNative(jenv, s);
1325 if ((*jenv)->ExceptionCheck(jenv)) {
1326 (*jenv)->DeleteLocalRef(jenv, jobj);
1329 frames = (*jenv)->CallStaticObjectMethod(jenv, g_stack_jc,
1331 (*jenv)->DeleteLocalRef(jenv, jstr);
1332 if ((*jenv)->ExceptionCheck(jenv)) {
1333 (*jenv)->DeleteLocalRef(jenv, jobj);
1337 (*jenv)->DeleteLocalRef(jenv, frames);
1338 if ((*jenv)->ExceptionCheck(jenv)) {
1339 WRAP_EXCEPTION(jenv);
1361 JNIEnv *jenv = jc->dtjj_jenv;
1374 jstr = (*jenv)->NewStringUTF(jenv, s);
1377 (*jenv)->DeleteLocalRef(jenv, jobj);
1381 tstr = (*jenv)->CallObjectMethod(jenv, jstr, g_trim_jm);
1383 (*jenv)->DeleteLocalRef(jenv, jstr);
1388 (*jenv)->DeleteLocalRef(jenv, jstr);
1389 if ((*jenv)->ExceptionCheck(jenv)) {
1390 WRAP_EXCEPTION(jenv);
1414 JNIEnv *jenv = jc->dtjj_jenv;
1429 raw = (*jenv)->NewByteArray(jenv, size);
1433 (*jenv)->SetByteArrayRegion(jenv, raw, 0, size,
1435 if ((*jenv)->ExceptionCheck(jenv)) {
1436 WRAP_EXCEPTION(jenv);
1437 (*jenv)->DeleteLocalRef(jenv, raw);
1445 stack = (*jenv)->NewObject(jenv, g_stack_jc,
1453 stack = (*jenv)->NewObject(jenv, g_ustack_jc,
1457 dtj_throw_illegal_argument(jenv,
1460 (*jenv)->DeleteLocalRef(jenv, raw);
1461 if ((*jenv)->ExceptionCheck(jenv)) {
1462 WRAP_EXCEPTION(jenv);
1472 JNIEnv *jenv = jc->dtjj_jenv;
1486 symbol = (*jenv)->NewObject(jenv, g_symbol_jc,
1496 symbol = (*jenv)->NewObject(jenv, g_usymbol_jc,
1500 dtj_throw_illegal_argument(jenv,
1503 if ((*jenv)->ExceptionCheck(jenv)) {
1504 WRAP_EXCEPTION(jenv);
1517 JNIEnv *jenv = jc->dtjj_jenv;
1561 dtj_throw_illegal_state(jenv,
1564 WRAP_EXCEPTION(jenv);
1568 jbuckets = (*jenv)->NewLongArray(jenv, n);
1574 (*jenv)->SetLongArrayRegion(jenv, jbuckets, 0, n, aggbuckets);
1576 if ((*jenv)->ExceptionCheck(jenv)) {
1577 WRAP_EXCEPTION(jenv);
1578 (*jenv)->DeleteLocalRef(jenv, jbuckets);
1586 jdist = (*jenv)->NewObject(jenv, g_ldist_jc, g_ldistinit_jm,
1590 jdist = (*jenv)->NewObject(jenv, g_dist_jc, g_distinit_jm,
1594 jdist = (*jenv)->NewObject(jenv, g_lldist_jc, g_lldistinit_jm,
1599 (*jenv)->DeleteLocalRef(jenv, jbuckets);
1605 (*jenv)->CallVoidMethod(jenv, jdist, g_dist_normal_jm, normal);
1606 if ((*jenv)->ExceptionCheck(jenv)) {
1607 WRAP_EXCEPTION(jenv);
1608 (*jenv)->DeleteLocalRef(jenv, jdist);
1619 JNIEnv *jenv = jc->dtjj_jenv;
1621 if ((*jenv)->IsInstanceOf(jenv, stack, g_stack_jc)) {
1622 (*jenv)->CallVoidMethod(jenv, stack, g_stackset_frames_jm,
1624 } else if ((*jenv)->IsInstanceOf(jenv, stack, g_ustack_jc)) {
1625 (*jenv)->CallVoidMethod(jenv, stack, g_ustackset_frames_jm,
1633 JNIEnv *jenv = jc->dtjj_jenv;
1635 if ((*jenv)->IsInstanceOf(jenv, symbol, g_symbol_jc)) {
1636 (*jenv)->CallVoidMethod(jenv, symbol, g_symbolset_name_jm, s);
1637 } else if ((*jenv)->IsInstanceOf(jenv, symbol, g_usymbol_jc)) {
1638 (*jenv)->CallVoidMethod(jenv, symbol, g_usymbolset_name_jm, s);
1652 JNIEnv *jenv = jc->dtjj_jenv;
1665 dtj_throw_illegal_state(jenv, "null aggdata");
1666 WRAP_EXCEPTION(jenv);
1679 dtj_throw_illegal_argument(jenv, "negative aggregation ID");
1680 WRAP_EXCEPTION(jenv);
1686 jstring jstr = dtj_NewStringNative(jenv, s);
1687 if ((*jenv)->ExceptionCheck(jenv)) {
1688 WRAP_EXCEPTION(jenv);
1695 jobj = (*jenv)->CallObjectMethod(jenv,
1697 (*jenv)->DeleteLocalRef(jenv, jstr);
1698 (*jenv)->DeleteLocalRef(jenv, jobj);
1699 if ((*jenv)->ExceptionCheck(jenv)) {
1700 WRAP_EXCEPTION(jenv);
1712 if ((*jenv)->ExceptionCheck(jenv)) {
1713 WRAP_EXCEPTION(jenv);
1759 jc->dtjj_tuple = (*jenv)->NewObject(jenv,
1792 (*jenv)->CallVoidMethod(jenv, jc->dtjj_tuple,
1794 (*jenv)->DeleteLocalRef(jenv, jobj);
1795 if ((*jenv)->ExceptionCheck(jenv)) {
1796 WRAP_EXCEPTION(jenv);
1816 WRAP_EXCEPTION(jenv);
1819 aggval = dtj_aggval_create(jenv, jvalue, aggdesc->dtagd_name,
1823 (*jenv)->DeleteLocalRef(jenv, jvalue);
1828 dtj_aggval_destroy(aggval, jenv);
1829 dtj_throw_out_of_memory(jenv, "Failed to add aggval");
1849 jc->dtjj_tuple = (*jenv)->GetStaticObjectField(jenv,
1852 dtj_throw_out_of_memory(jenv,
1859 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
1864 tuple_member_count = (*jenv)->CallIntMethod(jenv,
1868 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
1870 (*jenv)->DeleteLocalRef(jenv, jc->dtjj_tuple);
1882 jrec = (*jenv)->NewObject(jenv, g_aggrec_jc,
1885 (*jenv)->DeleteLocalRef(jenv, aggval->dtja_value);
1889 WRAP_EXCEPTION(jenv);
1894 jname = (*jenv)->NewStringUTF(jenv,
1898 (*jenv)->DeleteLocalRef(jenv, jrec);
1909 (*jenv)->CallVoidMethod(jenv,
1915 (*jenv)->CallVoidMethod(jenv,
1920 (*jenv)->DeleteLocalRef(jenv, jrec);
1921 (*jenv)->DeleteLocalRef(jenv, jname);
1922 if ((*jenv)->ExceptionCheck(jenv)) {
1923 WRAP_EXCEPTION(jenv);
1929 jenv);
1937 jstring jstr = (*jenv)->CallObjectMethod(jenv,
1939 if ((*jenv)->ExceptionCheck(jenv)) {
1940 WRAP_EXCEPTION(jenv);
1948 (*jenv)->CallVoidMethod(jenv, jc->dtjj_printa_buffer,
1951 (*jenv)->CallVoidMethod(jenv, jc->dtjj_probedata,
1953 (*jenv)->DeleteLocalRef(jenv, jstr);
1954 if ((*jenv)->ExceptionCheck(jenv)) {
1955 WRAP_EXCEPTION(jenv);
1960 (*jenv)->DeleteLocalRef(jenv, jc->dtjj_tuple);
1975 JNIEnv *jenv = jc->dtjj_jenv;
1982 aggname = (*jenv)->NewStringUTF(jenv, aggdesc->dtagd_name);
1988 included = (*jenv)->CallBooleanMethod(jenv,
1991 (*jenv)->DeleteLocalRef(jenv, aggname);
1992 if ((*jenv)->ExceptionCheck(jenv)) {
1993 WRAP_EXCEPTION(jenv);
2011 JNIEnv *jenv = jc->dtjj_jenv;
2036 jvalue = (*jenv)->NewObject(jenv, g_aggcount_jc,
2040 jvalue = (*jenv)->NewObject(jenv, g_aggsum_jc,
2044 jvalue = (*jenv)->NewObject(jenv, g_aggavg_jc,
2049 jvalue = (*jenv)->NewObject(jenv, g_aggmin_jc,
2053 jvalue = (*jenv)->NewObject(jenv, g_aggmax_jc,
2057 jvalue = dtj_stddev(jenv, addr, normal);
2061 dtj_throw_illegal_argument(jenv,
2077 JNIEnv *jenv;
2089 jenv = jc->dtjj_jenv;
2090 e = (*jenv)->ExceptionOccurred(jenv);
2092 (*jenv)->ExceptionClear(jenv);
2095 (*jenv)->MonitorEnter(jenv, g_caller_jc);
2096 if ((*jenv)->ExceptionCheck(jenv)) {
2105 (*jenv)->MonitorExit(jenv, g_caller_jc);
2106 if ((*jenv)->ExceptionCheck(jenv)) {
2111 (*jenv)->MonitorEnter(jenv, g_caller_jc);
2112 if ((*jenv)->ExceptionCheck(jenv)) {
2121 (*jenv)->MonitorExit(jenv, g_caller_jc);
2128 if ((*jenv)->ExceptionCheck(jenv)) {
2133 (*jenv)->ExceptionClear(jenv);
2135 (*jenv)->Throw(jenv, e);
2136 (*jenv)->DeleteLocalRef(jenv, e);
2146 JNIEnv *jenv = jc->dtjj_jenv;
2153 if ((*jenv)->ExceptionCheck(jenv)) {
2154 WRAP_EXCEPTION(jenv);
2165 (*jenv)->MonitorEnter(jenv, jc->dtjj_consumer_lock);
2166 if ((*jenv)->ExceptionCheck(jenv)) {
2167 WRAP_EXCEPTION(jenv);
2172 if ((*jenv)->ExceptionCheck(jenv)) {
2173 WRAP_EXCEPTION(jenv);
2175 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2196 if ((*jenv)->ExceptionCheck(jenv)) {
2199 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2208 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2212 if ((*jenv)->ExceptionCheck(jenv)) {
2219 WRAP_EXCEPTION(jenv);
2221 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2226 aggregate = (*jenv)->NewObject(jenv, g_agg_jc, g_agginit_jm,
2228 if ((*jenv)->ExceptionCheck(jenv)) {
2229 WRAP_EXCEPTION(jenv);
2231 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2258 if ((*jenv)->ExceptionCheck(jenv)) {
2259 WRAP_EXCEPTION(jenv);
2261 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2268 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2276 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2282 if ((*jenv)->ExceptionCheck(jenv)) {
2283 WRAP_EXCEPTION(jenv);
2285 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2296 if ((*jenv)->ExceptionCheck(jenv)) {
2297 WRAP_EXCEPTION(jenv);
2299 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2309 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2313 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2314 if ((*jenv)->ExceptionCheck(jenv)) {
2315 WRAP_EXCEPTION(jenv);
2376 JNIEnv *jenv = jc->dtjj_jenv;
2389 if ((*jenv)->ExceptionCheck(jenv)) {
2418 if ((*jenv)->ExceptionCheck(jenv)) {
2419 WRAP_EXCEPTION(jenv);
2427 (*jenv)->MonitorEnter(jenv, jc->dtjj_consumer_lock);
2428 if ((*jenv)->ExceptionCheck(jenv)) {
2429 WRAP_EXCEPTION(jenv);
2432 (*jenv)->CallVoidMethod(jenv, jc->dtjj_caller,
2434 if ((*jenv)->ExceptionCheck(jenv)) {
2436 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2451 if ((*jenv)->ExceptionCheck(jenv)) {
2459 (*jenv)->MonitorExit(jenv,
2468 (*jenv)->MonitorExit(jenv,
2478 (*jenv)->MonitorExit(jenv,
2487 if ((*jenv)->ExceptionCheck(jenv)) {
2493 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2501 (*jenv)->CallVoidMethod(jenv, jc->dtjj_caller,
2503 (*jenv)->MonitorExit(jenv, jc->dtjj_consumer_lock);
2504 if ((*jenv)->ExceptionCheck(jenv)) {
2517 (*jenv)->Throw(jenv, jc->dtjj_exception);
2518 (*jenv)->DeleteLocalRef(jenv, jc->dtjj_exception);