Skip to content

Commit 693d84d

Browse files
committed
Add getters from JDK-8317562.
1 parent fab2a70 commit 693d84d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/share/compiler/compileBroker.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ class CompileBroker: AllStatic {
399399

400400
static CompileLog* get_log(CompilerThread* ct);
401401

402+
static int get_c1_thread_count() { return _compilers[0]->num_compiler_threads(); }
403+
static int get_c2_thread_count() { return _compilers[1]->num_compiler_threads(); }
402404
static int get_total_compile_count() { return _total_compile_count; }
403405
static int get_total_bailout_count() { return _total_bailout_count; }
404406
static int get_total_invalidated_count() { return _total_invalidated_count; }

0 commit comments

Comments
 (0)