comparison src/share/vm/compiler/compileBroker.cpp @ 22763:94b7354ef0e0

improved error message and fixed macro usage (GRAAL-1387)
author Doug Simon <doug.simon@oracle.com>
date Fri, 08 Jan 2016 22:24:51 +0100
parents 9d78d44d3aac
children 9c0966b935a9
comparison
equal deleted inserted replaced
22762:9d78d44d3aac 22763:94b7354ef0e0
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) { 1748 if (_compilation_log != NULL) {
1749 _compilation_log->log_failure(thread, task, "compilation timed out", NULL); 1749 _compilation_log->log_failure(thread, task, "wait for blocking compilation timed out", NULL);
1750 } 1750 }
1751 if (PrintCompilation) { 1751 if (PrintCompilation) {
1752 task->print_compilation(tty, "compilation timed out"); 1752 task->print_compilation(tty, "wait for blocking compilation timed out");
1753 } 1753 }
1754 break; 1754 break;
1755 } 1755 }
1756 } else { 1756 } else {
1757 consecutively_blocked = 0; 1757 consecutively_blocked = 0;