equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 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. |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "gc/g1/g1CollectedHeap.inline.hpp" |
26 #include "gc/g1/g1CollectedHeap.inline.hpp" |
27 #include "gc/g1/g1ConcurrentRefine.hpp" |
27 #include "gc/g1/g1ConcurrentRefine.hpp" |
28 #include "gc/g1/g1ConcurrentRefineThread.hpp" |
28 #include "gc/g1/g1ConcurrentRefineThread.hpp" |
|
29 #include "gc/g1/g1DirtyCardQueue.hpp" |
29 #include "gc/g1/g1RemSet.hpp" |
30 #include "gc/g1/g1RemSet.hpp" |
30 #include "gc/g1/g1RemSetSummary.hpp" |
31 #include "gc/g1/g1RemSetSummary.hpp" |
31 #include "gc/g1/g1YoungRemSetSamplingThread.hpp" |
32 #include "gc/g1/g1YoungRemSetSamplingThread.hpp" |
32 #include "gc/g1/heapRegion.hpp" |
33 #include "gc/g1/heapRegion.hpp" |
33 #include "gc/g1/heapRegionRemSet.hpp" |
34 #include "gc/g1/heapRegionRemSet.hpp" |
51 } |
52 } |
52 }; |
53 }; |
53 |
54 |
54 void G1RemSetSummary::update() { |
55 void G1RemSetSummary::update() { |
55 _num_conc_refined_cards = _rem_set->num_conc_refined_cards(); |
56 _num_conc_refined_cards = _rem_set->num_conc_refined_cards(); |
56 DirtyCardQueueSet& dcqs = G1BarrierSet::dirty_card_queue_set(); |
57 G1DirtyCardQueueSet& dcqs = G1BarrierSet::dirty_card_queue_set(); |
57 _num_processed_buf_mutator = dcqs.processed_buffers_mut(); |
58 _num_processed_buf_mutator = dcqs.processed_buffers_mut(); |
58 _num_processed_buf_rs_threads = dcqs.processed_buffers_rs_thread(); |
59 _num_processed_buf_rs_threads = dcqs.processed_buffers_rs_thread(); |
59 |
60 |
60 _num_coarsenings = HeapRegionRemSet::n_coarsenings(); |
61 _num_coarsenings = HeapRegionRemSet::n_coarsenings(); |
61 |
62 |