Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegion.cpp @ 14309:63a4eb8bcd23
8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author | jwilhelm |
---|---|
date | Thu, 23 Jan 2014 14:47:23 +0100 |
parents | 28674af341ac |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
1025 *failures = true; | 1025 *failures = true; |
1026 return; | 1026 return; |
1027 } | 1027 } |
1028 } | 1028 } |
1029 | 1029 |
1030 // Loook up end - 1 | 1030 // Look up end - 1 |
1031 HeapWord* addr_4 = the_end - 1; | 1031 HeapWord* addr_4 = the_end - 1; |
1032 HeapWord* b_start_4 = _offsets.block_start_const(addr_4); | 1032 HeapWord* b_start_4 = _offsets.block_start_const(addr_4); |
1033 if (b_start_4 != p) { | 1033 if (b_start_4 != p) { |
1034 gclog_or_tty->print_cr("BOT look up for end - 1: "PTR_FORMAT" " | 1034 gclog_or_tty->print_cr("BOT look up for end - 1: "PTR_FORMAT" " |
1035 " yielded "PTR_FORMAT", expecting "PTR_FORMAT, | 1035 " yielded "PTR_FORMAT", expecting "PTR_FORMAT, |
1109 // about to start scanning this region. If it does so after | 1109 // about to start scanning this region. If it does so after |
1110 // set_saved_mark and before _gc_time_stamp = ..., then the latter | 1110 // set_saved_mark and before _gc_time_stamp = ..., then the latter |
1111 // will be false, and it will pick up top() as the high water mark | 1111 // will be false, and it will pick up top() as the high water mark |
1112 // of region. If it does so after _gc_time_stamp = ..., then it | 1112 // of region. If it does so after _gc_time_stamp = ..., then it |
1113 // will pick up the right saved_mark_word() as the high water mark | 1113 // will pick up the right saved_mark_word() as the high water mark |
1114 // of the region. Either way, the behaviour will be correct. | 1114 // of the region. Either way, the behavior will be correct. |
1115 ContiguousSpace::set_saved_mark(); | 1115 ContiguousSpace::set_saved_mark(); |
1116 OrderAccess::storestore(); | 1116 OrderAccess::storestore(); |
1117 _gc_time_stamp = curr_gc_time_stamp; | 1117 _gc_time_stamp = curr_gc_time_stamp; |
1118 // No need to do another barrier to flush the writes above. If | 1118 // No need to do another barrier to flush the writes above. If |
1119 // this is called in parallel with other threads trying to | 1119 // this is called in parallel with other threads trying to |