author | tschatzl |
Wed, 18 Apr 2018 11:36:48 +0200 | |
changeset 49806 | 2d62570a615c |
parent 49634 | df9dcfff6628 |
child 50565 | 69e82329ad01 |
permissions | -rw-r--r-- |
49607
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
1 |
/* |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
2 |
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
4 |
* |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
8 |
* |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
13 |
* accompanied this code). |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
14 |
* |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
18 |
* |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
21 |
* questions. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
22 |
* |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
23 |
*/ |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
24 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
25 |
#include "precompiled.hpp" |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
26 |
#include "gc/g1/collectionSetChooser.hpp" |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
27 |
#include "gc/g1/g1RemSetTrackingPolicy.hpp" |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
28 |
#include "gc/g1/heapRegion.inline.hpp" |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
29 |
#include "gc/g1/heapRegionRemSet.hpp" |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
30 |
#include "runtime/safepoint.hpp" |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
31 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
32 |
bool G1RemSetTrackingPolicy::is_interesting_humongous_region(HeapRegion* r) const { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
33 |
return r->is_starts_humongous() && oop(r->bottom())->is_typeArray(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
34 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
35 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
36 |
bool G1RemSetTrackingPolicy::needs_scan_for_rebuild(HeapRegion* r) const { |
49634
df9dcfff6628
8197932: Better split work in rebuild remembered sets phase
tschatzl
parents:
49632
diff
changeset
|
37 |
// All non-free, non-young, non-closed archive regions need to be scanned for references; |
49607
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
38 |
// At every gc we gather references to other regions in young, and closed archive |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
39 |
// regions by definition do not have references going outside the closed archive. |
49634
df9dcfff6628
8197932: Better split work in rebuild remembered sets phase
tschatzl
parents:
49632
diff
changeset
|
40 |
// Free regions trivially do not need scanning because they do not contain live |
df9dcfff6628
8197932: Better split work in rebuild remembered sets phase
tschatzl
parents:
49632
diff
changeset
|
41 |
// objects. |
df9dcfff6628
8197932: Better split work in rebuild remembered sets phase
tschatzl
parents:
49632
diff
changeset
|
42 |
return !(r->is_young() || r->is_closed_archive() || r->is_free()); |
49607
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
43 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
44 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
45 |
void G1RemSetTrackingPolicy::update_at_allocate(HeapRegion* r) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
46 |
if (r->is_young()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
47 |
// Always collect remembered set for young regions. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
48 |
r->rem_set()->set_state_complete(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
49 |
} else if (r->is_humongous()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
50 |
// Collect remembered sets for humongous regions by default to allow eager reclaim. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
51 |
r->rem_set()->set_state_complete(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
52 |
} else if (r->is_archive()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
53 |
// Archive regions never move ever. So never build remembered sets for them. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
54 |
r->rem_set()->set_state_empty(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
55 |
} else if (r->is_old()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
56 |
// By default, do not create remembered set for new old regions. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
57 |
r->rem_set()->set_state_empty(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
58 |
} else { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
59 |
guarantee(false, "Unhandled region %u with heap region type %s", r->hrm_index(), r->get_type_str()); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
60 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
61 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
62 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
63 |
void G1RemSetTrackingPolicy::update_at_free(HeapRegion* r) { |
49632
64f9ebc85e67
8197573: Remove concurrent cleanup and secondary free list handling
tschatzl
parents:
49607
diff
changeset
|
64 |
/* nothing to do */ |
49607
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
65 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
66 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
67 |
bool G1RemSetTrackingPolicy::update_before_rebuild(HeapRegion* r, size_t live_bytes) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
68 |
assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint"); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
69 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
70 |
bool selected_for_rebuild = false; |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
71 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
72 |
// Only consider updating the remembered set for old gen regions - excluding archive regions |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
73 |
// which never move (but are "Old" regions). |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
74 |
if (r->is_old_or_humongous() && !r->is_archive()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
75 |
size_t between_ntams_and_top = (r->top() - r->next_top_at_mark_start()) * HeapWordSize; |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
76 |
size_t total_live_bytes = live_bytes + between_ntams_and_top; |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
77 |
// Completely free regions after rebuild are of no interest wrt rebuilding the |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
78 |
// remembered set. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
79 |
assert(!r->rem_set()->is_updating(), "Remembered set of region %u is updating before rebuild", r->hrm_index()); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
80 |
// To be of interest for rebuilding the remembered set the following must apply: |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
81 |
// - They must contain some live data in them. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
82 |
// - We always try to update the remembered sets of humongous regions containing |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
83 |
// type arrays if they are empty as they might have been reset after full gc. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
84 |
// - Only need to rebuild non-complete remembered sets. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
85 |
// - Otherwise only add those old gen regions which occupancy is low enough that there |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
86 |
// is a chance that we will ever evacuate them in the mixed gcs. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
87 |
if ((total_live_bytes > 0) && |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
88 |
(is_interesting_humongous_region(r) || CollectionSetChooser::region_occupancy_low_enough_for_evac(total_live_bytes)) && |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
89 |
!r->rem_set()->is_tracked()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
90 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
91 |
r->rem_set()->set_state_updating(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
92 |
selected_for_rebuild = true; |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
93 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
94 |
log_trace(gc, remset, tracking)("Before rebuild region %u " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
95 |
"(ntams: " PTR_FORMAT ") " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
96 |
"total_live_bytes " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
97 |
"selected %s " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
98 |
"(live_bytes " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
99 |
"next_marked " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
100 |
"marked " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
101 |
"type %s)", |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
102 |
r->hrm_index(), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
103 |
p2i(r->next_top_at_mark_start()), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
104 |
total_live_bytes, |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
105 |
BOOL_TO_STR(selected_for_rebuild), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
106 |
live_bytes, |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
107 |
r->next_marked_bytes(), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
108 |
r->marked_bytes(), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
109 |
r->get_type_str()); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
110 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
111 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
112 |
return selected_for_rebuild; |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
113 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
114 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
115 |
void G1RemSetTrackingPolicy::update_after_rebuild(HeapRegion* r) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
116 |
assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint"); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
117 |
|
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
118 |
if (r->is_old_or_humongous()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
119 |
if (r->rem_set()->is_updating()) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
120 |
r->rem_set()->set_state_complete(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
121 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
122 |
// We can drop remembered sets of humongous regions that have a too large remembered set: |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
123 |
// We will never try to eagerly reclaim or move them anyway until the next concurrent |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
124 |
// cycle as e.g. remembered set entries will always be added. |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
125 |
if (r->is_humongous() && !G1CollectedHeap::heap()->is_potential_eager_reclaim_candidate(r)) { |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
126 |
r->rem_set()->clear_locked(true /* only_cardset */); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
127 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
128 |
assert(!r->is_continues_humongous() || r->rem_set()->is_empty(), "Continues humongous object remsets should be empty"); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
129 |
G1ConcurrentMark* cm = G1CollectedHeap::heap()->concurrent_mark(); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
130 |
log_trace(gc, remset, tracking)("After rebuild region %u " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
131 |
"(ntams " PTR_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
132 |
"liveness " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
133 |
"next_marked_bytes " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
134 |
"remset occ " SIZE_FORMAT " " |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
135 |
"size " SIZE_FORMAT ")", |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
136 |
r->hrm_index(), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
137 |
p2i(r->next_top_at_mark_start()), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
138 |
cm->liveness(r->hrm_index()) * HeapWordSize, |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
139 |
r->next_marked_bytes(), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
140 |
r->rem_set()->occupied_locked(), |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
141 |
r->rem_set()->mem_size()); |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
142 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
143 |
} |
acffe6ff3ae7
8180415: Rebuild remembered sets during the concurrent cycle
tschatzl
parents:
diff
changeset
|
144 |