Mercurial > hg > graal-compiler
comparison src/share/vm/memory/collectorPolicy.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 | f95d63e2154a |
children | d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
3773:5130fa1b24f1 | 3774:c9ca3f51cf41 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 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. |
278 bool is_tlab, | 278 bool is_tlab, |
279 bool* gc_overhead_limit_was_exceeded); | 279 bool* gc_overhead_limit_was_exceeded); |
280 | 280 |
281 HeapWord *satisfy_failed_allocation(size_t size, bool is_tlab); | 281 HeapWord *satisfy_failed_allocation(size_t size, bool is_tlab); |
282 | 282 |
283 // The size that defines a "large array". | |
284 virtual size_t large_typearray_limit(); | |
285 | |
286 // Adaptive size policy | 283 // Adaptive size policy |
287 virtual void initialize_size_policy(size_t init_eden_size, | 284 virtual void initialize_size_policy(size_t init_eden_size, |
288 size_t init_promo_size, | 285 size_t init_promo_size, |
289 size_t init_survivor_size); | 286 size_t init_survivor_size); |
290 }; | 287 }; |