Mercurial > hg > graal-compiler
comparison src/share/vm/memory/genCollectedHeap.hpp @ 3774:c9ca3f51cf41
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
Summary: Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
author | tonyp |
---|---|
date | Thu, 16 Jun 2011 15:51:57 -0400 |
parents | 6747fd0512e0 |
children | 53074c2c4600 |
comparison
equal
deleted
inserted
replaced
3773:5130fa1b24f1 | 3774:c9ca3f51cf41 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
159 void save_used_regions(int level, bool perm); | 159 void save_used_regions(int level, bool perm); |
160 | 160 |
161 size_t max_capacity() const; | 161 size_t max_capacity() const; |
162 | 162 |
163 HeapWord* mem_allocate(size_t size, | 163 HeapWord* mem_allocate(size_t size, |
164 bool is_large_noref, | |
165 bool is_tlab, | |
166 bool* gc_overhead_limit_was_exceeded); | 164 bool* gc_overhead_limit_was_exceeded); |
167 | 165 |
168 // We may support a shared contiguous allocation area, if the youngest | 166 // We may support a shared contiguous allocation area, if the youngest |
169 // generation does. | 167 // generation does. |
170 bool supports_inline_contig_alloc() const; | 168 bool supports_inline_contig_alloc() const; |
312 // decreasing size. | 310 // decreasing size. |
313 ScratchBlock* gather_scratch(Generation* requestor, size_t max_alloc_words); | 311 ScratchBlock* gather_scratch(Generation* requestor, size_t max_alloc_words); |
314 // Allow each generation to reset any scratch space that it has | 312 // Allow each generation to reset any scratch space that it has |
315 // contributed as it needs. | 313 // contributed as it needs. |
316 void release_scratch(); | 314 void release_scratch(); |
317 | |
318 size_t large_typearray_limit(); | |
319 | 315 |
320 // Ensure parsability: override | 316 // Ensure parsability: override |
321 virtual void ensure_parsability(bool retire_tlabs); | 317 virtual void ensure_parsability(bool retire_tlabs); |
322 | 318 |
323 // Time in ms since the longest time a collector ran in | 319 // Time in ms since the longest time a collector ran in |