src/share/vm/runtime/advancedThresholdPolicy.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot-gc Sdiff src/share/vm/runtime

src/share/vm/runtime/advancedThresholdPolicy.hpp

Print this page


   1 /*
   2 * Copyright (c) 2010, 2011 Oracle and/or its affiliates. All rights reserved.
   3 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
   4 */



















   5 
   6 #ifndef SHARE_VM_RUNTIME_ADVANCEDTHRESHOLDPOLICY_HPP
   7 #define SHARE_VM_RUNTIME_ADVANCEDTHRESHOLDPOLICY_HPP
   8 
   9 #include "runtime/simpleThresholdPolicy.hpp"
  10 
  11 #ifdef TIERED
  12 class CompileTask;
  13 class CompileQueue;
  14 
  15 /*
  16  *  The system supports 5 execution levels:
  17  *  * level 0 - interpreter
  18  *  * level 1 - C1 with full optimization (no profiling)
  19  *  * level 2 - C1 with invocation and backedge counters
  20  *  * level 3 - C1 with full profiling (level 2 + MDO)
  21  *  * level 4 - C2
  22  *
  23  * Levels 0, 2 and 3 periodically notify the runtime about the current value of the counters
  24  * (invocation counters and backedge counters). The frequency of these notifications is


   1 /*
   2  * Copyright (c) 2010, 2011, 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  *
  23  */
  24 
  25 #ifndef SHARE_VM_RUNTIME_ADVANCEDTHRESHOLDPOLICY_HPP
  26 #define SHARE_VM_RUNTIME_ADVANCEDTHRESHOLDPOLICY_HPP
  27 
  28 #include "runtime/simpleThresholdPolicy.hpp"
  29 
  30 #ifdef TIERED
  31 class CompileTask;
  32 class CompileQueue;
  33 
  34 /*
  35  *  The system supports 5 execution levels:
  36  *  * level 0 - interpreter
  37  *  * level 1 - C1 with full optimization (no profiling)
  38  *  * level 2 - C1 with invocation and backedge counters
  39  *  * level 3 - C1 with full profiling (level 2 + MDO)
  40  *  * level 4 - C2
  41  *
  42  * Levels 0, 2 and 3 periodically notify the runtime about the current value of the counters
  43  * (invocation counters and backedge counters). The frequency of these notifications is


src/share/vm/runtime/advancedThresholdPolicy.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File