src/share/vm/opto/graphKit.cpp

changeset 1040
98cb887364d3
parent 1005
dca06e7f503d
child 1063
7bb995fbd3c0
child 1079
c517646eef23
     1.1 --- a/src/share/vm/opto/graphKit.cpp	Fri Feb 27 08:34:19 2009 -0800
     1.2 +++ b/src/share/vm/opto/graphKit.cpp	Fri Feb 27 13:27:09 2009 -0800
     1.3 @@ -1148,7 +1148,7 @@
     1.4    Node   *tst = _gvn.transform( btst );
     1.5  
     1.6    //-----------
     1.7 -  // if peephole optimizations occured, a prior test existed.
     1.8 +  // if peephole optimizations occurred, a prior test existed.
     1.9    // If a prior test existed, maybe it dominates as we can avoid this test.
    1.10    if (tst != btst && type == T_OBJECT) {
    1.11      // At this point we want to scan up the CFG to see if we can
    1.12 @@ -1196,7 +1196,7 @@
    1.13    // Consider using 'Reason_class_check' instead?
    1.14  
    1.15    // To cause an implicit null check, we set the not-null probability
    1.16 -  // to the maximum (PROB_MAX).  For an explicit check the probablity
    1.17 +  // to the maximum (PROB_MAX).  For an explicit check the probability
    1.18    // is set to a smaller value.
    1.19    if (null_control != NULL || too_many_traps(reason)) {
    1.20      // probability is less likely

mercurial