Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.hpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | 63a4eb8bcd23 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14141:f97c5ec83832 | 14518:d8041d695d19 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2013, 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. |
67 | 67 |
68 // Additional space is needed in the old generation. Check | 68 // Additional space is needed in the old generation. Check |
69 // the available space and attempt to move the boundary if more space | 69 // the available space and attempt to move the boundary if more space |
70 // is needed. The growth is not guaranteed to occur. | 70 // is needed. The growth is not guaranteed to occur. |
71 void adjust_boundary_for_old_gen_needs(size_t desired_change_in_bytes); | 71 void adjust_boundary_for_old_gen_needs(size_t desired_change_in_bytes); |
72 // Similary for a growth of the young generation. | 72 // Similarly for a growth of the young generation. |
73 void adjust_boundary_for_young_gen_needs(size_t eden_size, size_t survivor_size); | 73 void adjust_boundary_for_young_gen_needs(size_t eden_size, size_t survivor_size); |
74 | 74 |
75 // Return the total byte size of the reserved space | 75 // Return the total byte size of the reserved space |
76 // for the adjoining generations. | 76 // for the adjoining generations. |
77 size_t reserved_byte_size(); | 77 size_t reserved_byte_size(); |