提交 7a15488e 编写于 作者: C coleenp

Merge

...@@ -370,6 +370,10 @@ void os::print_context(outputStream* st, void* context) { ...@@ -370,6 +370,10 @@ void os::print_context(outputStream* st, void* context) {
ShouldNotCallThis(); ShouldNotCallThis();
} }
void os::print_register_info(outputStream *st, void *context) {
ShouldNotCallThis();
}
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Stubs for things that would be in linux_zero.s if it existed. // Stubs for things that would be in linux_zero.s if it existed.
// You probably want to disassemble these monkeys to check they're ok. // You probably want to disassemble these monkeys to check they're ok.
......
...@@ -522,6 +522,7 @@ CompilerCounters::CompilerCounters(const char* thread_name, int instance, TRAPS) ...@@ -522,6 +522,7 @@ CompilerCounters::CompilerCounters(const char* thread_name, int instance, TRAPS)
void CompileBroker::compilation_init() { void CompileBroker::compilation_init() {
_last_method_compiled[0] = '\0'; _last_method_compiled[0] = '\0';
#ifndef SHARK
// Set the interface to the current compiler(s). // Set the interface to the current compiler(s).
int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple); int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple);
int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization); int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization);
...@@ -537,13 +538,12 @@ void CompileBroker::compilation_init() { ...@@ -537,13 +538,12 @@ void CompileBroker::compilation_init() {
} }
#endif // COMPILER2 #endif // COMPILER2
#ifdef SHARK #else // SHARK
#if defined(COMPILER1) || defined(COMPILER2) int c1_count = 0;
#error "Can't use COMPILER1 or COMPILER2 with shark" int c2_count = 1;
#endif
_compilers[0] = new SharkCompiler(); _compilers[1] = new SharkCompiler();
_compilers[1] = _compilers[0]; #endif // SHARK
#endif
// Initialize the CompileTask free list // Initialize the CompileTask free list
_task_free_list = NULL; _task_free_list = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册