# HG changeset patch # User Doug Simon # Date 1400235789 -7200 # Node ID c66c28e1f8665439b13e91050c01207f77040a19 # Parent 16059f6f56617bb3d3228afda813a9dc9d560b47 minor spelling and modifier fix diff -r 16059f6f5661 -r c66c28e1f866 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java --- 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; diff -r 16059f6f5661 -r c66c28e1f866 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java --- 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 maps, int index) { + private static long collectTotal(List maps, int index) { long total = 0; for (int i = 0; i < maps.size(); i++) { DebugValueMap map = maps.get(i);