< prev index next >

src/hotspot/share/compiler/compileBroker.hpp

Print this page
rev 49260 : [mq]: 8198691.patch
   1 /*
   2  * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 364   static void print_last_compile();
 365 
 366   // compiler name for debugging
 367   static const char* compiler_name(int comp_level);
 368 
 369   static int get_total_compile_count() {          return _total_compile_count; }
 370   static int get_total_bailout_count() {          return _total_bailout_count; }
 371   static int get_total_invalidated_count() {      return _total_invalidated_count; }
 372   static int get_total_native_compile_count() {   return _total_native_compile_count; }
 373   static int get_total_osr_compile_count() {      return _total_osr_compile_count; }
 374   static int get_total_standard_compile_count() { return _total_standard_compile_count; }
 375   static int get_sum_osr_bytes_compiled() {       return _sum_osr_bytes_compiled; }
 376   static int get_sum_standard_bytes_compiled() {  return _sum_standard_bytes_compiled; }
 377   static int get_sum_nmethod_size() {             return _sum_nmethod_size;}
 378   static int get_sum_nmethod_code_size() {        return _sum_nmethod_code_size; }
 379   static long get_peak_compilation_time() {       return _peak_compilation_time; }
 380   static long get_total_compilation_time() {      return _t_total_compilation.milliseconds(); }
 381 
 382   // Log that compilation profiling is skipped because metaspace is full.
 383   static void log_metaspace_failure();




 384 };
 385 
 386 #endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP
   1 /*
   2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 364   static void print_last_compile();
 365 
 366   // compiler name for debugging
 367   static const char* compiler_name(int comp_level);
 368 
 369   static int get_total_compile_count() {          return _total_compile_count; }
 370   static int get_total_bailout_count() {          return _total_bailout_count; }
 371   static int get_total_invalidated_count() {      return _total_invalidated_count; }
 372   static int get_total_native_compile_count() {   return _total_native_compile_count; }
 373   static int get_total_osr_compile_count() {      return _total_osr_compile_count; }
 374   static int get_total_standard_compile_count() { return _total_standard_compile_count; }
 375   static int get_sum_osr_bytes_compiled() {       return _sum_osr_bytes_compiled; }
 376   static int get_sum_standard_bytes_compiled() {  return _sum_standard_bytes_compiled; }
 377   static int get_sum_nmethod_size() {             return _sum_nmethod_size;}
 378   static int get_sum_nmethod_code_size() {        return _sum_nmethod_code_size; }
 379   static long get_peak_compilation_time() {       return _peak_compilation_time; }
 380   static long get_total_compilation_time() {      return _t_total_compilation.milliseconds(); }
 381 
 382   // Log that compilation profiling is skipped because metaspace is full.
 383   static void log_metaspace_failure();
 384 
 385   // CodeHeap State Analytics.
 386   static void print_info(outputStream *out);
 387   static void print_heapinfo(outputStream *out, const char* function, const char* granularity );
 388 };
 389 
 390 #endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP
< prev index next >