Mercurial > hg > graal-jvmci-8
diff src/share/vm/compiler/compileBroker.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | d8041d695d19 |
children | a20be10ad437 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.hpp Tue Apr 01 14:09:03 2014 +0200 +++ b/src/share/vm/compiler/compileBroker.hpp Tue Apr 01 13:57:07 2014 +0200 @@ -246,8 +246,6 @@ // Compile type Information for print_last_compile() and CompilerCounters enum { no_compile, normal_compile, osr_compile, native_compile }; - static int assign_compile_id (methodHandle method, int osr_bci); - private: static bool _initialized; @@ -260,8 +258,9 @@ static AbstractCompiler* _compilers[2]; // These counters are used for assigning id's to each compilation - static volatile jint _compilation_id; - static volatile jint _osr_compilation_id; + static uint _compilation_id; + static uint _osr_compilation_id; + static uint _native_compilation_id; static int _last_compile_type; static int _last_compile_level; @@ -322,6 +321,7 @@ static void init_compiler_threads(int c1_compiler_count, int c2_compiler_count); static bool compilation_is_complete (methodHandle method, int osr_bci, int comp_level); static bool compilation_is_prohibited(methodHandle method, int osr_bci, int comp_level); + static uint assign_compile_id (methodHandle method, int osr_bci); static bool is_compile_blocking (methodHandle method, int osr_bci); static void preload_classes (methodHandle method, TRAPS);