hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.hpp
changeset 5343 95a5c4b89273
parent 1 489c9b5090e2
child 5547 f4b087cbb361
equal deleted inserted replaced
5245:431efce7a0af 5343:95a5c4b89273
     1 /*
     1 /*
     2  * Copyright (c) 2007 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 2007-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.
    30   ConcurrentMarkSweepPolicy();
    30   ConcurrentMarkSweepPolicy();
    31 
    31 
    32   ConcurrentMarkSweepPolicy* as_concurrent_mark_sweep_policy() { return this; }
    32   ConcurrentMarkSweepPolicy* as_concurrent_mark_sweep_policy() { return this; }
    33 
    33 
    34   void initialize_gc_policy_counters();
    34   void initialize_gc_policy_counters();
    35 #if 1
    35 
    36   virtual void initialize_size_policy(size_t init_eden_size,
    36   virtual void initialize_size_policy(size_t init_eden_size,
    37                                       size_t init_promo_size,
    37                                       size_t init_promo_size,
    38                                       size_t init_survivor_size);
    38                                       size_t init_survivor_size);
    39 #endif
       
    40 
    39 
    41   // Returns true if the incremental mode is enabled.
    40   // Returns true if the incremental mode is enabled.
    42   virtual bool has_soft_ended_eden();
    41   virtual bool has_soft_ended_eden();
    43 };
    42 };
    44 
    43