--- a/hotspot/src/share/vm/runtime/compilationPolicy.cpp Tue Jan 14 16:40:33 2014 +0100
+++ b/hotspot/src/share/vm/runtime/compilationPolicy.cpp Thu Jan 23 14:47:23 2014 +0100
@@ -233,7 +233,7 @@
}
void NonTieredCompPolicy::reset_counter_for_back_branch_event(methodHandle m) {
- // Delay next back-branch event but pump up invocation counter to triger
+ // Delay next back-branch event but pump up invocation counter to trigger
// whole method compilation.
MethodCounters* mcs = m->method_counters();
assert(mcs != NULL, "MethodCounters cannot be NULL for profiling");
@@ -251,7 +251,7 @@
//
// CounterDecay
//
-// Interates through invocation counters and decrements them. This
+// Iterates through invocation counters and decrements them. This
// is done at each safepoint.
//
class CounterDecay : public AllStatic {
@@ -321,7 +321,7 @@
}
// This method can be called by any component of the runtime to notify the policy
-// that it's recommended to delay the complation of this method.
+// that it's recommended to delay the compilation of this method.
void NonTieredCompPolicy::delay_compilation(Method* method) {
MethodCounters* mcs = method->method_counters();
if (mcs != NULL) {