Lines Matching refs:current

54     Thread* thread = Thread::current();
93 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops());
109 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops());
184 // Determine if the handle is somewhere in the current thread's stack.
289 assert(thread == NULL || thread == Thread::current(), "sanity check");
336 assert(thread == NULL || thread == Thread::current(), "sanity check");
385 for (JNIHandleBlock* current = current_chain; current != NULL;
386 current = current->_next) {
387 assert(current == current_chain || current->pop_frame_link() == NULL,
389 for (int index = 0; index < current->_top; index++) {
390 oop* root = &(current->_handles)[index];
398 // the next handle block is valid only if current block is full
399 if (current->_top < block_size_in_oops) {
410 for (JNIHandleBlock* current = this; current != NULL; current = current->_next) {
411 assert(current->pop_frame_link() == NULL,
413 for (int index = 0; index < current->_top; index++) {
414 oop* root = &(current->_handles)[index];
430 // the next handle block is valid only if current block is full
431 if (current->_top < block_size_in_oops) {
450 for (JNIHandleBlock* current = _next; current != NULL;
451 current = current->_next) {
452 assert(current->_last == NULL, "only first block should have _last set");
453 assert(current->_free_list == NULL,
455 current->_top = 0;
456 if (ZapJNIHandleArea) current->zap();
491 Thread* thread = Thread::current();
507 for (JNIHandleBlock* current = this; current != NULL; current = current->_next) {
508 for (int index = 0; index < current->_top; index++) {
509 oop* handle = &(current->_handles)[index];
518 assert(current->_top == block_size_in_oops, "just checking");
543 for (JNIHandleBlock* current = (JNIHandleBlock*) this; current != NULL; current = current->_next) {
544 if (current->contains(handle)) {
554 for (JNIHandleBlock* current = _next; current != NULL; current = current->_next) {
570 for (JNIHandleBlock* current = _block_list; current != NULL; current = current->_block_list_link) {
571 if (current->contains(handle)) {