comparison src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp @ 356:1ee8caae33af

Merge
author tonyp
date Thu, 21 Aug 2008 23:36:31 -0400
parents 37f87013dfd8 850fdf70db2b
children e9be0e04635a
comparison
equal deleted inserted replaced
355:0edda524b58c 356:1ee8caae33af
1 /* 1 /*
2 * Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 2001-2008 Sun Microsystems, Inc. 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.
225 void resize_young_gen(size_t eden_size, size_t survivor_size); 225 void resize_young_gen(size_t eden_size, size_t survivor_size);
226 226
227 // Resize the old generation. The reserved space for the 227 // Resize the old generation. The reserved space for the
228 // generation may be expanded in preparation for the resize. 228 // generation may be expanded in preparation for the resize.
229 void resize_old_gen(size_t desired_free_space); 229 void resize_old_gen(size_t desired_free_space);
230
231 // Save the tops of the spaces in all generations
232 void record_gen_tops_before_GC() PRODUCT_RETURN;
233
234 // Mangle the unused parts of all spaces in the heap
235 void gen_mangle_unused_area() PRODUCT_RETURN;
230 }; 236 };
231 237
232 inline size_t ParallelScavengeHeap::set_alignment(size_t& var, size_t val) 238 inline size_t ParallelScavengeHeap::set_alignment(size_t& var, size_t val)
233 { 239 {
234 assert(is_power_of_2((intptr_t)val), "must be a power of 2"); 240 assert(is_power_of_2((intptr_t)val), "must be a power of 2");