Mercurial > hg > truffle
comparison src/share/vm/gc_interface/collectedHeap.cpp @ 360:5d254928c888
Merge
author | ysr |
---|---|
date | Wed, 27 Aug 2008 11:20:46 -0700 |
parents | 1ee8caae33af |
children | 7d7a7c599c17 |
comparison
equal
deleted
inserted
replaced
341:d60e4e6d7f72 | 360:5d254928c888 |
---|---|
136 int new_size = new_obj->size(); | 136 int new_size = new_obj->size(); |
137 bs->write_region(MemRegion((HeapWord*)new_obj, new_size)); | 137 bs->write_region(MemRegion((HeapWord*)new_obj, new_size)); |
138 return new_obj; | 138 return new_obj; |
139 } | 139 } |
140 | 140 |
141 bool CollectedHeap::can_elide_permanent_oop_store_barriers() const { | |
142 // %%% This needs refactoring. (It was gating logic from the server compiler.) | |
143 guarantee(kind() < CollectedHeap::G1CollectedHeap, ""); | |
144 return !UseConcMarkSweepGC; | |
145 } | |
146 | |
147 | |
148 HeapWord* CollectedHeap::allocate_new_tlab(size_t size) { | 141 HeapWord* CollectedHeap::allocate_new_tlab(size_t size) { |
149 guarantee(false, "thread-local allocation buffers not supported"); | 142 guarantee(false, "thread-local allocation buffers not supported"); |
150 return NULL; | 143 return NULL; |
151 } | 144 } |
152 | 145 |