< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotProfilingInfo.java

Print this page




   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 package jdk.vm.ci.hotspot;
  24 
  25 import jdk.vm.ci.meta.*;




  26 
  27 public final class HotSpotProfilingInfo implements ProfilingInfo, HotSpotProxified {
  28 
  29     // private static final DebugMetric metricInsufficentSpace =
  30     // Debug.metric("InsufficientSpaceForProfilingData");
  31 
  32     private final HotSpotMethodData methodData;
  33     private final HotSpotResolvedJavaMethod method;
  34 
  35     private boolean isMature;
  36     private int position;
  37     private int hintPosition;
  38     private int hintBCI;
  39     private HotSpotMethodDataAccessor dataAccessor;
  40 
  41     private boolean includeNormal;
  42     private boolean includeOSR;
  43 
  44     public HotSpotProfilingInfo(HotSpotMethodData methodData, HotSpotResolvedJavaMethod method, boolean includeNormal, boolean includeOSR) {
  45         this.methodData = methodData;




   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 package jdk.vm.ci.hotspot;
  24 
  25 import jdk.vm.ci.meta.DeoptimizationReason;
  26 import jdk.vm.ci.meta.JavaMethodProfile;
  27 import jdk.vm.ci.meta.JavaTypeProfile;
  28 import jdk.vm.ci.meta.ProfilingInfo;
  29 import jdk.vm.ci.meta.TriState;
  30 
  31 public final class HotSpotProfilingInfo implements ProfilingInfo, HotSpotProxified {
  32 
  33     // private static final DebugMetric metricInsufficentSpace =
  34     // Debug.metric("InsufficientSpaceForProfilingData");
  35 
  36     private final HotSpotMethodData methodData;
  37     private final HotSpotResolvedJavaMethod method;
  38 
  39     private boolean isMature;
  40     private int position;
  41     private int hintPosition;
  42     private int hintBCI;
  43     private HotSpotMethodDataAccessor dataAccessor;
  44 
  45     private boolean includeNormal;
  46     private boolean includeOSR;
  47 
  48     public HotSpotProfilingInfo(HotSpotMethodData methodData, HotSpotResolvedJavaMethod method, boolean includeNormal, boolean includeOSR) {
  49         this.methodData = methodData;


< prev index next >