comparison src/share/vm/gc_implementation/parNew/parNewGeneration.hpp @ 6595:aaf61e68b255

6818524: G1: use ergonomic resizing of PLABs Summary: Employ PLABStats instances to record information about survivor and old PLABs, and use the recorded stats to adjust the sizes of survivor and old PLABS. Reviewed-by: johnc, ysr Contributed-by: Brandon Mitchell <brandon@twitter.com>
author johnc
date Mon, 06 Aug 2012 12:20:14 -0700
parents d2a62e0f25eb
children ca0a78017dc7
comparison
equal deleted inserted replaced
6265:ef437ea56651 6595:aaf61e68b255
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2012, 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.
23 */ 23 */
24 24
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
26 #define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP 26 #define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
27 27
28 #include "gc_implementation/parNew/parGCAllocBuffer.hpp" 28 #include "gc_implementation/shared/parGCAllocBuffer.hpp"
29 #include "memory/defNewGeneration.hpp" 29 #include "memory/defNewGeneration.hpp"
30 #include "utilities/taskqueue.hpp" 30 #include "utilities/taskqueue.hpp"
31 31
32 class ChunkArray; 32 class ChunkArray;
33 class ParScanWithoutBarrierClosure; 33 class ParScanWithoutBarrierClosure;