changeset 15702:c66c28e1f866

minor spelling and modifier fix
author Doug Simon <doug.simon@oracle.com>
date Fri, 16 May 2014 12:23:09 +0200
parents 16059f6f5661
children bd9be86ce634
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java	Fri May 16 12:06:46 2014 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java	Fri May 16 12:23:09 2014 +0200
@@ -245,7 +245,7 @@
 
     public void runCompilation() {
         if (executor != null && executor.isShutdown()) {
-            // We don't want to do any unnecessary compilation is the Graal compilation
+            // We don't want to do any unnecessary compilation if the Graal compilation
             // queue has been shutdown. Note that we leave the JVM_ACC_QUEUED bit set
             // for the method so that it won't be re-scheduled for compilation.
             return;
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java	Fri May 16 12:06:46 2014 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java	Fri May 16 12:23:09 2014 +0200
@@ -480,7 +480,7 @@
         printMap(new DebugValueScope(null, result), debugValues);
     }
 
-    public static long collectTotal(List<DebugValueMap> maps, int index) {
+    private static long collectTotal(List<DebugValueMap> maps, int index) {
         long total = 0;
         for (int i = 0; i < maps.size(); i++) {
             DebugValueMap map = maps.get(i);