src/hotspot/share/gc/g1/g1CollectedHeap.cpp
changeset 48510 2fe2d312e6ce
parent 48179 34fe70d22e9c
child 48637 7bba05746c44
child 48889 216c2aabbf1f
equal deleted inserted replaced
48509:e595b672a50b 48510:2fe2d312e6ce
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2018, 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.
  4784 
  4784 
  4785     if (has_young_time) {
  4785     if (has_young_time) {
  4786       timer->record_time_secs(G1GCPhaseTimes::YoungFreeCSet, worker_id, young_time);
  4786       timer->record_time_secs(G1GCPhaseTimes::YoungFreeCSet, worker_id, young_time);
  4787     }
  4787     }
  4788     if (has_non_young_time) {
  4788     if (has_non_young_time) {
  4789       timer->record_time_secs(G1GCPhaseTimes::NonYoungFreeCSet, worker_id, young_time);
  4789       timer->record_time_secs(G1GCPhaseTimes::NonYoungFreeCSet, worker_id, non_young_time);
  4790     }
  4790     }
  4791   }
  4791   }
  4792 };
  4792 };
  4793 
  4793 
  4794 void G1CollectedHeap::free_collection_set(G1CollectionSet* collection_set, EvacuationInfo& evacuation_info, const size_t* surviving_young_words) {
  4794 void G1CollectedHeap::free_collection_set(G1CollectionSet* collection_set, EvacuationInfo& evacuation_info, const size_t* surviving_young_words) {