< prev index next >

src/share/vm/prims/jniCheck.cpp

Print this page
rev 12474 : 8171924: Use SIZE_FORMAT to print size_t values.

*** 236,246 **** JNIHandleBlock* handles = thr->active_handles(); size_t planned_capacity = handles->get_planned_capacity(); size_t live_handles = handles->get_number_of_live_handles(); if (live_handles > planned_capacity) { IN_VM( ! tty->print_cr("WARNING: JNI local refs: %zu, exceeds capacity: %zu", live_handles, planned_capacity); thr->print_stack(); ) // Complain just the once, reset to current + warn threshold add_planned_handle_capacity(handles, 0); --- 236,246 ---- JNIHandleBlock* handles = thr->active_handles(); size_t planned_capacity = handles->get_planned_capacity(); size_t live_handles = handles->get_number_of_live_handles(); if (live_handles > planned_capacity) { IN_VM( ! tty->print_cr("WARNING: JNI local refs: " SIZE_FORMAT ", exceeds capacity: " SIZE_FORMAT, live_handles, planned_capacity); thr->print_stack(); ) // Complain just the once, reset to current + warn threshold add_planned_handle_capacity(handles, 0);
< prev index next >