comparison src/share/vm/gc_interface/collectedHeap.cpp @ 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 ba764ed4b6f2
children 1ee8caae33af
comparison
equal deleted inserted replaced
189:0b27f3512f9e 342:37f87013dfd8
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