hotspot/src/share/vm/gc/shared/cardTableRS.cpp
changeset 32623 390a27af5657
parent 31964 d34ad1715d96
child 33105 294e48b4f704
child 33160 c59f1676d27e
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
    78       if (_last_cur_val_in_gen[g] == v) {
    78       if (_last_cur_val_in_gen[g] == v) {
    79         seen = true;
    79         seen = true;
    80         break;
    80         break;
    81       }
    81       }
    82     }
    82     }
    83     if (!seen) return v;
    83     if (!seen) {
       
    84       return v;
       
    85     }
    84   }
    86   }
    85   ShouldNotReachHere();
    87   ShouldNotReachHere();
    86   return 0;
    88   return 0;
    87 }
    89 }
    88 
    90 
   500       // below, we do some unnecessary scanning
   502       // below, we do some unnecessary scanning
   501       // in some cases in the current parallel scanning algorithm.]
   503       // in some cases in the current parallel scanning algorithm.]
   502       //
   504       //
   503       // The main point below is that the parallel card scanning code
   505       // The main point below is that the parallel card scanning code
   504       // deals correctly with these stale card values. There are two main
   506       // deals correctly with these stale card values. There are two main
   505       // cases to consider where we have a stale "younger gen" value and a
   507       // cases to consider where we have a stale "young gen" value and a
   506       // "derivative" case to consider, where we have a stale
   508       // "derivative" case to consider, where we have a stale
   507       // "cur_younger_gen_and_prev_non_clean" value, as will become
   509       // "cur_younger_gen_and_prev_non_clean" value, as will become
   508       // apparent in the case analysis below.
   510       // apparent in the case analysis below.
   509       // o Case 1. If the stale value corresponds to a younger_gen_n
   511       // o Case 1. If the stale value corresponds to a younger_gen_n
   510       //   value other than the cur_younger_gen value then the code
   512       //   value other than the cur_younger_gen value then the code