comparison src/share/vm/compiler/compileBroker.cpp @ 22764:9c0966b935a9

converted select_task_blocking_aware into select_task_helper (GRAAL-1387)
author Doug Simon <doug.simon@oracle.com>
date Fri, 08 Jan 2016 23:45:00 +0100
parents 94b7354ef0e0
children 1fbfcc0334d3
comparison
equal deleted inserted replaced
22763:94b7354ef0e0 22764:9c0966b935a9
1743 MutexLocker mu(Threads_lock, thread); 1743 MutexLocker mu(Threads_lock, thread);
1744 state = jvmci_compiler_thread->thread_state(); 1744 state = jvmci_compiler_thread->thread_state();
1745 } 1745 }
1746 if (state == _thread_blocked) { 1746 if (state == _thread_blocked) {
1747 if (++consecutively_blocked == BLOCKING_JVMCI_COMPILATION_WAIT_TO_UNBLOCK_ATTEMPTS) { 1747 if (++consecutively_blocked == BLOCKING_JVMCI_COMPILATION_WAIT_TO_UNBLOCK_ATTEMPTS) {
1748 if (_compilation_log != NULL) {
1749 _compilation_log->log_failure(thread, task, "wait for blocking compilation timed out", NULL);
1750 }
1751 if (PrintCompilation) { 1748 if (PrintCompilation) {
1752 task->print_compilation(tty, "wait for blocking compilation timed out"); 1749 task->print_compilation(tty, "wait for blocking compilation timed out");
1753 } 1750 }
1754 break; 1751 break;
1755 } 1752 }