src/hotspot/share/compiler/compileBroker.hpp
changeset 49611 973c9504178e
parent 47765 b7c7428eaab9
child 49618 c5b066caefba
equal deleted inserted replaced
49610:6790b1077a3f 49611:973c9504178e
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
     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.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   379   static long get_peak_compilation_time() {       return _peak_compilation_time; }
   379   static long get_peak_compilation_time() {       return _peak_compilation_time; }
   380   static long get_total_compilation_time() {      return _t_total_compilation.milliseconds(); }
   380   static long get_total_compilation_time() {      return _t_total_compilation.milliseconds(); }
   381 
   381 
   382   // Log that compilation profiling is skipped because metaspace is full.
   382   // Log that compilation profiling is skipped because metaspace is full.
   383   static void log_metaspace_failure();
   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 );
   384 };
   388 };
   385 
   389 
   386 #endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP
   390 #endif // SHARE_VM_COMPILER_COMPILEBROKER_HPP