Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 548784
Collapse All | Expand All

(-)openjdk/hotspot/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp (+11 lines)
Lines 66-71 Link Here
66
  }
66
  }
67
}
67
}
68
68
69
void G1SATBCardTableModRefBS::write_ref_array_pre(oop* dst, int count, bool dest_uninitialized) {
70
  if (!dest_uninitialized) {
71
    write_ref_array_pre_work(dst, count);
72
  }
73
}
74
void G1SATBCardTableModRefBS::write_ref_array_pre(narrowOop* dst, int count, bool dest_uninitialized) {
75
  if (!dest_uninitialized) {
76
    write_ref_array_pre_work(dst, count);
77
  }
78
}
79
69
bool G1SATBCardTableModRefBS::mark_card_deferred(size_t card_index) {
80
bool G1SATBCardTableModRefBS::mark_card_deferred(size_t card_index) {
70
  jbyte val = _byte_map[card_index];
81
  jbyte val = _byte_map[card_index];
71
  // It's already processed
82
  // It's already processed
(-)openjdk/hotspot/src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp (-10 / +2 lines)
Lines 86-101 Link Here
86
  }
86
  }
87
87
88
  template <class T> void write_ref_array_pre_work(T* dst, int count);
88
  template <class T> void write_ref_array_pre_work(T* dst, int count);
89
  virtual void write_ref_array_pre(oop* dst, int count, bool dest_uninitialized) {
89
  virtual void write_ref_array_pre(oop* dst, int count, bool dest_uninitialized);
90
    if (!dest_uninitialized) {
90
  virtual void write_ref_array_pre(narrowOop* dst, int count, bool dest_uninitialized);
91
      write_ref_array_pre_work(dst, count);
92
    }
93
  }
94
  virtual void write_ref_array_pre(narrowOop* dst, int count, bool dest_uninitialized) {
95
    if (!dest_uninitialized) {
96
      write_ref_array_pre_work(dst, count);
97
    }
98
  }
99
91
100
/*
92
/*
101
   Claimed and deferred bits are used together in G1 during the evacuation
93
   Claimed and deferred bits are used together in G1 during the evacuation

Return to bug 548784