Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1AllocRegion.inline.hpp @ 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 | abdfc822206f |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
68 return NULL; | 68 return NULL; |
69 } | 69 } |
70 | 70 |
71 inline HeapWord* G1AllocRegion::attempt_allocation_locked(size_t word_size, | 71 inline HeapWord* G1AllocRegion::attempt_allocation_locked(size_t word_size, |
72 bool bot_updates) { | 72 bool bot_updates) { |
73 // First we have to tedo the allocation, assuming we're holding the | 73 // First we have to redo the allocation, assuming we're holding the |
74 // appropriate lock, in case another thread changed the region while | 74 // appropriate lock, in case another thread changed the region while |
75 // we were waiting to get the lock. | 75 // we were waiting to get the lock. |
76 HeapWord* result = attempt_allocation(word_size, bot_updates); | 76 HeapWord* result = attempt_allocation(word_size, bot_updates); |
77 if (result != NULL) { | 77 if (result != NULL) { |
78 return result; | 78 return result; |