changeset 22422:a440d1dc6513

fix documentation: -XX:GraalCounter... -> -XX:JVMCICounter...
author Doug Simon <doug.simon@oracle.com>
date Thu, 06 Aug 2015 17:36:36 +0200
parents 92ead19b1c4a
children c952e97b4316
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/debug/BenchmarkCounters.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/debug/BenchmarkCounters.java	Wed Aug 05 01:03:28 2015 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/debug/BenchmarkCounters.java	Thu Aug 06 17:36:36 2015 +0200
@@ -46,8 +46,8 @@
  * <p>
  *
  * The counters are kept in a special area allocated for each native JavaThread object, and the
- * number of counters is configured using {@code -XX:GraalCounterSize=value}.
- * {@code -XX:+/-GraalCountersExcludeCompiler} configures whether to exclude compiler threads
+ * number of counters is configured using {@code -XX:JVMCICounterSize=value}.
+ * {@code -XX:+/-JVMCICountersExcludeCompiler} configures whether to exclude compiler threads
  * (defaults to true).
  *
  * The subsystems that use the logging need to have their own options to turn on the counters, and
@@ -59,9 +59,9 @@
  * <h1>Example</h1> In order to create statistics about allocations within the DaCapo pmd benchmark
  * the following steps are necessary:
  * <ul>
- * <li>Set {@code -XX:GraalCounterSize=value}. The actual required value depends on the granularity
+ * <li>Set {@code -XX:JVMCICounterSize=value}. The actual required value depends on the granularity
  * of the profiling, 10000 should be enough for most cases.</li>
- * <li>Also: {@code -XX:+/-GraalCountersExcludeCompiler} specifies whether the numbers generated by
+ * <li>Also: {@code -XX:+/-JVMCICountersExcludeCompiler} specifies whether the numbers generated by
  * compiler threads should be excluded (default: true).</li>
  * <li>Start the DaCapo pmd benchmark with
  * {@code "-G:BenchmarkDynamicCounters=err, starting ====, PASSED in "} and
@@ -143,7 +143,7 @@
         assert counter.group.equals(group) : "mismatching groups: " + counter.group + " vs. " + group;
         int countersSize = config.jvmciCountersSize;
         if (counter.index >= countersSize) {
-            throw new JVMCIError("too many counters, reduce number of counters or increase -XX:GraalCounterSize=... (current value: " + countersSize + ")");
+            throw new JVMCIError("too many counters, reduce number of counters or increase -XX:JVMCICounterSize=... (current value: " + countersSize + ")");
         }
         return counter;
     }