src/share/vm/memory/binaryTreeDictionary.hpp

changeset 4197
476718ea6759
parent 4196
685df3c6f84b
child 4488
3c327c2b6782
equal deleted inserted replaced
4196:685df3c6f84b 4197:476718ea6759
257 FreeBlockDictionary<Chunk_t>::verify_par_locked(); 257 FreeBlockDictionary<Chunk_t>::verify_par_locked();
258 Chunk_t* res = get_chunk_from_tree(size, dither); 258 Chunk_t* res = get_chunk_from_tree(size, dither);
259 assert(res == NULL || res->is_free(), 259 assert(res == NULL || res->is_free(),
260 "Should be returning a free chunk"); 260 "Should be returning a free chunk");
261 assert(dither != FreeBlockDictionary<Chunk_t>::exactly || 261 assert(dither != FreeBlockDictionary<Chunk_t>::exactly ||
262 res->size() == size, "Not correct size"); 262 res == NULL || res->size() == size, "Not correct size");
263 return res; 263 return res;
264 } 264 }
265 265
266 void return_chunk(Chunk_t* chunk) { 266 void return_chunk(Chunk_t* chunk) {
267 FreeBlockDictionary<Chunk_t>::verify_par_locked(); 267 FreeBlockDictionary<Chunk_t>::verify_par_locked();

mercurial