src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp

changeset 9608
4b8584c24ff4
parent 9492
a3df1579a864
child 9637
eef07cd490d4
child 9746
b13d79420363
child 9858
b985cbb00e68
equal deleted inserted replaced
9607:a9ab35a0f5cb 9608:4b8584c24ff4
1 /* 1 /*
2 * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2019, 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.
4006 double pause_start_sec = os::elapsedTime(); 4006 double pause_start_sec = os::elapsedTime();
4007 g1_policy()->phase_times()->note_gc_start(active_workers, mark_in_progress()); 4007 g1_policy()->phase_times()->note_gc_start(active_workers, mark_in_progress());
4008 log_gc_header(); 4008 log_gc_header();
4009 4009
4010 TraceCollectorStats tcs(g1mm()->incremental_collection_counters()); 4010 TraceCollectorStats tcs(g1mm()->incremental_collection_counters());
4011 TraceMemoryManagerStats tms(false /* fullGC */, gc_cause()); 4011 TraceMemoryManagerStats tms(false /* fullGC */, gc_cause(),
4012 yc_type() == Mixed /* allMemoryPoolsAffected */);
4012 4013
4013 // If the secondary_free_list is not empty, append it to the 4014 // If the secondary_free_list is not empty, append it to the
4014 // free_list. No need to wait for the cleanup operation to finish; 4015 // free_list. No need to wait for the cleanup operation to finish;
4015 // the region allocation code will check the secondary_free_list 4016 // the region allocation code will check the secondary_free_list
4016 // and wait if necessary. If the G1StressConcRegionFreeing flag is 4017 // and wait if necessary. If the G1StressConcRegionFreeing flag is

mercurial