Mercurial > hg > graal-compiler
comparison src/share/vm/memory/space.inline.hpp @ 342:37f87013dfd8
6711316: Open source the Garbage-First garbage collector
Summary: First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author | ysr |
---|---|
date | Thu, 05 Jun 2008 15:57:56 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
189:0b27f3512f9e | 342:37f87013dfd8 |
---|---|
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
20 * CA 95054 USA or visit www.sun.com if you need additional information or | 20 * CA 95054 USA or visit www.sun.com if you need additional information or |
21 * have any questions. | 21 * have any questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | |
25 inline HeapWord* Space::block_start(const void* p) { | |
26 return block_start_const(p); | |
27 } | |
24 | 28 |
25 inline HeapWord* OffsetTableContigSpace::allocate(size_t size) { | 29 inline HeapWord* OffsetTableContigSpace::allocate(size_t size) { |
26 HeapWord* res = ContiguousSpace::allocate(size); | 30 HeapWord* res = ContiguousSpace::allocate(size); |
27 if (res != NULL) { | 31 if (res != NULL) { |
28 _offsets.alloc_block(res, size); | 32 _offsets.alloc_block(res, size); |
48 _offsets.alloc_block(res, size); | 52 _offsets.alloc_block(res, size); |
49 } | 53 } |
50 return res; | 54 return res; |
51 } | 55 } |
52 | 56 |
53 inline HeapWord* OffsetTableContigSpace::block_start(const void* p) const { | 57 inline HeapWord* |
58 OffsetTableContigSpace::block_start_const(const void* p) const { | |
54 return _offsets.block_start(p); | 59 return _offsets.block_start(p); |
55 } | 60 } |
56 | 61 |
57 inline HeapWord* ContiguousSpace::concurrent_iteration_safe_limit() | 62 inline HeapWord* ContiguousSpace::concurrent_iteration_safe_limit() |
58 { | 63 { |