jdk/src/share/classes/sun/misc/PerfCounter.java
author lana
Thu, 26 Dec 2013 12:04:16 -0800
changeset 23010 6dadb192ad81
parent 17158 55eecadc4f82
permissions -rw-r--r--
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013 Summary: updated files with 2011, 2012 and 2013 years according to the file's last updated date Reviewed-by: tbell, lancea, chegar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3849
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
     1
/*
23010
6dadb192ad81 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents: 17158
diff changeset
     2
 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
3849
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
     4
 *
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3849
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
3849
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3849
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
3849
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    10
 *
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    15
 * accompanied this code).
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    16
 *
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3849
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3849
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3849
diff changeset
    23
 * questions.
3849
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    24
 */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    25
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    26
package sun.misc;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    27
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    28
import java.nio.ByteBuffer;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    29
import java.nio.ByteOrder;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    30
import java.nio.LongBuffer;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    31
import java.security.AccessController;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    32
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    33
/**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    34
 * Performance counter support for internal JRE classes.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    35
 * This class defines a fixed list of counters for the platform
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    36
 * to use as an interim solution until RFE# 6209222 is implemented.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    37
 * The perf counters will be created in the jvmstat perf buffer
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    38
 * that the HotSpot VM creates. The default size is 32K and thus
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    39
 * the number of counters is bounded.  You can alter the size
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    40
 * with -XX:PerfDataMemorySize=<bytes> option. If there is
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    41
 * insufficient memory in the jvmstat perf buffer, the C heap memory
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    42
 * will be used and thus the application will continue to run if
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    43
 * the counters added exceeds the buffer size but the counters
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    44
 * will be missing.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    45
 *
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    46
 * See HotSpot jvmstat implementation for certain circumstances
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    47
 * that the jvmstat perf buffer is not supported.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    48
 *
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    49
 */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    50
public class PerfCounter {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    51
    private static final Perf perf =
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    52
        AccessController.doPrivileged(new Perf.GetPerfAction());
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    53
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    54
    // Must match values defined in hotspot/src/share/vm/runtime/perfdata.hpp
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    55
    private final static int V_Constant  = 1;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    56
    private final static int V_Monotonic = 2;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    57
    private final static int V_Variable  = 3;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    58
    private final static int U_None      = 1;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    59
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    60
    private final String name;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    61
    private final LongBuffer lb;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    62
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    63
    private PerfCounter(String name, int type) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    64
        this.name = name;
17158
55eecadc4f82 8011934: sun.misc.PerfCounter calls Perf.createLong with incorrect parameters
mchung
parents: 5506
diff changeset
    65
        ByteBuffer bb = perf.createLong(name, type, U_None, 0L);
3849
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    66
        bb.order(ByteOrder.nativeOrder());
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    67
        this.lb = bb.asLongBuffer();
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    68
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    69
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    70
    static PerfCounter newPerfCounter(String name) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    71
        return new PerfCounter(name, V_Variable);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    72
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    73
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    74
    static PerfCounter newConstantPerfCounter(String name) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    75
        PerfCounter c = new PerfCounter(name, V_Constant);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    76
        return c;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    77
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    78
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    79
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    80
     * Returns the current value of the perf counter.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    81
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    82
    public synchronized long get() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    83
        return lb.get(0);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    84
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    85
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    86
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    87
     * Sets the value of the perf counter to the given newValue.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    88
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    89
    public synchronized void set(long newValue) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    90
        lb.put(0, newValue);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    91
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    92
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    93
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    94
     * Adds the given value to the perf counter.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    95
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    96
    public synchronized void add(long value) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    97
        long res = get() + value;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    98
        lb.put(0, res);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
    99
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   100
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   101
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   102
     * Increments the perf counter with 1.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   103
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   104
    public void increment() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   105
        add(1);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   106
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   107
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   108
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   109
     * Adds the given interval to the perf counter.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   110
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   111
    public void addTime(long interval) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   112
        add(interval);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   113
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   114
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   115
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   116
     * Adds the elapsed time from the given start time (ns) to the perf counter.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   117
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   118
    public void addElapsedTimeFrom(long startTime) {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   119
        add(System.nanoTime() - startTime);
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   120
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   121
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   122
    @Override
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   123
    public String toString() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   124
        return name + " = " + get();
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   125
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   126
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   127
    static class CoreCounters {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   128
        static final PerfCounter pdt   = newPerfCounter("sun.classloader.parentDelegationTime");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   129
        static final PerfCounter lc    = newPerfCounter("sun.classloader.findClasses");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   130
        static final PerfCounter lct   = newPerfCounter("sun.classloader.findClassTime");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   131
        static final PerfCounter rcbt  = newPerfCounter("sun.urlClassLoader.readClassBytesTime");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   132
        static final PerfCounter zfc   = newPerfCounter("sun.zip.zipFiles");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   133
        static final PerfCounter zfot  = newPerfCounter("sun.zip.zipFile.openTime");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   134
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   135
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   136
    static class WindowsClientCounters {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   137
        static final PerfCounter d3dAvailable = newConstantPerfCounter("sun.java2d.d3d.available");
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   138
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   139
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   140
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   141
     * Number of findClass calls
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   142
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   143
    public static PerfCounter getFindClasses() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   144
        return CoreCounters.lc;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   145
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   146
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   147
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   148
     * Time (ns) spent in finding classes that includes
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   149
     * lookup and read class bytes and defineClass
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   150
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   151
    public static PerfCounter getFindClassTime() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   152
        return CoreCounters.lct;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   153
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   154
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   155
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   156
     * Time (ns) spent in finding classes
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   157
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   158
    public static PerfCounter getReadClassBytesTime() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   159
        return CoreCounters.rcbt;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   160
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   161
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   162
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   163
     * Time (ns) spent in the parent delegation to
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   164
     * the parent of the defining class loader
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   165
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   166
    public static PerfCounter getParentDelegationTime() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   167
        return CoreCounters.pdt;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   168
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   169
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   170
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   171
     * Number of zip files opened.
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   172
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   173
    public static PerfCounter getZipFileCount() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   174
        return CoreCounters.zfc;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   175
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   176
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   177
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   178
     * Time (ns) spent in opening the zip files that
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   179
     * includes building the entries hash table
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   180
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   181
    public static PerfCounter getZipFileOpenTime() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   182
        return CoreCounters.zfot;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   183
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   184
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   185
    /**
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   186
     * D3D graphic pipeline available
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   187
     */
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   188
    public static PerfCounter getD3DAvailable() {
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   189
        return WindowsClientCounters.d3dAvailable;
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   190
    }
34469964aa98 6878481: Add performance counters in the JDK
mchung
parents:
diff changeset
   191
}