aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/block.cpp
diff options
context:
space:
mode:
authortwisti <none@none>2009-02-27 13:27:09 -0800
committertwisti <none@none>2009-02-27 13:27:09 -0800
commit20614e5f596b171e644b2325d1b08456b9c5a0f5 (patch)
tree3e151c366d950a8573d5e7e906dfe28d3c373ba4 /src/share/vm/opto/block.cpp
parentf26f77db8fb00c8625d1b2c1d8d22f7236e15769 (diff)
downloadjdk8u_hotspot-20614e5f596b171e644b2325d1b08456b9c5a0f5.tar.gz
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
Diffstat (limited to 'src/share/vm/opto/block.cpp')
-rw-r--r--src/share/vm/opto/block.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/share/vm/opto/block.cpp b/src/share/vm/opto/block.cpp
index 284000477..4749dc34d 100644
--- a/src/share/vm/opto/block.cpp
+++ b/src/share/vm/opto/block.cpp
@@ -181,7 +181,7 @@ int Block::is_Empty() const {
}
//------------------------------has_uncommon_code------------------------------
-// Return true if the block's code implies that it is not likely to be
+// Return true if the block's code implies that it is likely to be
// executed infrequently. Check to see if the block ends in a Halt or
// a low probability call.
bool Block::has_uncommon_code() const {
@@ -1311,7 +1311,7 @@ void PhaseBlockLayout::merge_traces(bool fall_thru_only)
}
} else if (e->state() == CFGEdge::open) {
// Append traces, even without a fall-thru connection.
- // But leave root entry at the begining of the block list.
+ // But leave root entry at the beginning of the block list.
if (targ_trace != trace(_cfg._broot)) {
e->set_state(CFGEdge::connected);
src_trace->append(targ_trace);
@@ -1434,7 +1434,7 @@ bool Trace::backedge(CFGEdge *e) {
}
// Backbranch to the top of a trace
- // Scroll foward through the trace from the targ_block. If we find
+ // Scroll forward through the trace from the targ_block. If we find
// a loop head before another loop top, use the the loop head alignment.
for (Block *b = targ_block; b != NULL; b = next(b)) {
if (b->has_loop_alignment()) {