hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2001-2010 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. |
568 |
568 |
569 // Collector policy |
569 // Collector policy |
570 ConcurrentMarkSweepPolicy* _collector_policy; |
570 ConcurrentMarkSweepPolicy* _collector_policy; |
571 ConcurrentMarkSweepPolicy* collector_policy() { return _collector_policy; } |
571 ConcurrentMarkSweepPolicy* collector_policy() { return _collector_policy; } |
572 |
572 |
573 // Check whether the gc time limit has been |
|
574 // exceeded and set the size policy flag |
|
575 // appropriately. |
|
576 void check_gc_time_limit(); |
|
577 // XXX Move these to CMSStats ??? FIX ME !!! |
573 // XXX Move these to CMSStats ??? FIX ME !!! |
578 elapsedTimer _inter_sweep_timer; // time between sweeps |
574 elapsedTimer _inter_sweep_timer; // time between sweeps |
579 elapsedTimer _intra_sweep_timer; // time _in_ sweeps |
575 elapsedTimer _intra_sweep_timer; // time _in_ sweeps |
580 // padded decaying average estimates of the above |
576 // padded decaying average estimates of the above |
581 AdaptivePaddedAverage _inter_sweep_estimate; |
577 AdaptivePaddedAverage _inter_sweep_estimate; |