hotspot/src/share/vm/gc/g1/g1YoungRemSetSamplingThread.hpp
changeset 36378 d63bca5c1439
parent 35191 da47979837b4
child 37081 7656f5356a5d
equal deleted inserted replaced
36377:be8afc1274ff 36378:d63bca5c1439
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, 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.
    39 // reevaluates the prediction for the remembered set scanning costs, and potentially
    39 // reevaluates the prediction for the remembered set scanning costs, and potentially
    40 // G1CollectorPolicy resizes the young gen. This may do a premature GC or even
    40 // G1CollectorPolicy resizes the young gen. This may do a premature GC or even
    41 // increase the young gen size to keep pause time length goal.
    41 // increase the young gen size to keep pause time length goal.
    42 class G1YoungRemSetSamplingThread: public ConcurrentGCThread {
    42 class G1YoungRemSetSamplingThread: public ConcurrentGCThread {
    43 private:
    43 private:
    44   Monitor* _monitor;
    44   Monitor _monitor;
    45 
    45 
    46   void sample_young_list_rs_lengths();
    46   void sample_young_list_rs_lengths();
    47 
    47 
    48   void run_service();
    48   void run_service();
    49   void stop_service();
    49   void stop_service();