equal
deleted
inserted
replaced
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) { |