Mercurial > hg > truffle
comparison src/share/vm/compiler/compileBroker.hpp @ 13630:b1838411e896
Use compile ids assigned by hotspot
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 14 Jan 2014 10:14:31 -0800 |
parents | 5a4293f24642 |
children | fe034af88233 |
comparison
equal
deleted
inserted
replaced
13629:5348da19751d | 13630:b1838411e896 |
---|---|
319 | 319 |
320 static CompilerThread* make_compiler_thread(const char* name, CompileQueue* queue, CompilerCounters* counters, AbstractCompiler* comp, TRAPS); | 320 static CompilerThread* make_compiler_thread(const char* name, CompileQueue* queue, CompilerCounters* counters, AbstractCompiler* comp, TRAPS); |
321 static void init_compiler_threads(int c1_compiler_count, int c2_compiler_count); | 321 static void init_compiler_threads(int c1_compiler_count, int c2_compiler_count); |
322 static bool compilation_is_complete (methodHandle method, int osr_bci, int comp_level); | 322 static bool compilation_is_complete (methodHandle method, int osr_bci, int comp_level); |
323 static bool compilation_is_prohibited(methodHandle method, int osr_bci, int comp_level); | 323 static bool compilation_is_prohibited(methodHandle method, int osr_bci, int comp_level); |
324 static uint assign_compile_id (methodHandle method, int osr_bci); | |
325 static bool is_compile_blocking (methodHandle method, int osr_bci); | 324 static bool is_compile_blocking (methodHandle method, int osr_bci); |
326 static void preload_classes (methodHandle method, TRAPS); | 325 static void preload_classes (methodHandle method, TRAPS); |
327 | 326 |
328 static CompileTask* create_compile_task(CompileQueue* queue, | 327 static CompileTask* create_compile_task(CompileQueue* queue, |
329 int compile_id, | 328 int compile_id, |
383 int osr_bci, | 382 int osr_bci, |
384 int comp_level, | 383 int comp_level, |
385 methodHandle hot_method, | 384 methodHandle hot_method, |
386 int hot_count, | 385 int hot_count, |
387 const char* comment, Thread* thread); | 386 const char* comment, Thread* thread); |
387 | |
388 static uint assign_compile_id (methodHandle method, int osr_bci); | |
388 | 389 |
389 static void compiler_thread_loop(); | 390 static void compiler_thread_loop(); |
390 static uint get_compilation_id() { return _compilation_id; } | 391 static uint get_compilation_id() { return _compilation_id; } |
391 | 392 |
392 // Set _should_block. | 393 // Set _should_block. |