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 }; |