File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -3313,6 +3313,13 @@ HeapRegion* G1CollectedHeap::alloc_highest_free_region() {
3313
3313
return NULL ;
3314
3314
}
3315
3315
3316
+ void G1CollectedHeap::mark_evac_failure_object (const oop obj, uint worker_id) const {
3317
+ // All objects failing evacuation are live. What we'll do is
3318
+ // that we'll update the prev marking info so that they are
3319
+ // all under PTAMS and explicitly marked.
3320
+ _cm->par_mark_in_prev_bitmap (obj);
3321
+ }
3322
+
3316
3323
// Optimized nmethod scanning
3317
3324
3318
3325
class RegisterNMethodOopClosure : public OopClosure {
Original file line number Diff line number Diff line change @@ -1249,7 +1249,7 @@ class G1CollectedHeap : public CollectedHeap {
1249
1249
inline bool is_obj_dead_full (const oop obj) const ;
1250
1250
1251
1251
// Mark the live object that failed evacuation in the prev bitmap.
1252
- inline void mark_evac_failure_object (const oop obj, uint worker_id) const ;
1252
+ void mark_evac_failure_object (const oop obj, uint worker_id) const ;
1253
1253
1254
1254
G1ConcurrentMark* concurrent_mark () const { return _cm; }
1255
1255
Original file line number Diff line number Diff line change 29
29
30
30
#include " gc/g1/g1BarrierSet.hpp"
31
31
#include " gc/g1/g1CollectorState.hpp"
32
- #include " gc/g1/g1ConcurrentMark.inline.hpp"
33
32
#include " gc/g1/g1EvacFailureRegions.hpp"
34
33
#include " gc/g1/g1Policy.hpp"
35
34
#include " gc/g1/g1RemSet.hpp"
@@ -234,13 +233,6 @@ inline bool G1CollectedHeap::is_obj_dead_full(const oop obj) const {
234
233
return is_obj_dead_full (obj, heap_region_containing (obj));
235
234
}
236
235
237
- inline void G1CollectedHeap::mark_evac_failure_object (const oop obj, uint worker_id) const {
238
- // All objects failing evacuation are live. What we'll do is
239
- // that we'll update the prev marking info so that they are
240
- // all under PTAMS and explicitly marked.
241
- _cm->par_mark_in_prev_bitmap (obj);
242
- }
243
-
244
236
inline void G1CollectedHeap::set_humongous_reclaim_candidate (uint region, bool value) {
245
237
assert (_hrm.at (region)->is_starts_humongous (), " Must start a humongous object" );
246
238
_humongous_reclaim_candidates.set_candidate (region, value);
You can’t perform that action at this time.
0 commit comments