Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1AllocRegion.inline.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 63a4eb8bcd23 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
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 redo the allocation, assuming we're holding the | 73 // First we have to tedo 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; |