src/share/vm/gc_implementation/g1/g1ParScanThreadState.hpp

Print this page

        

@@ -82,13 +82,13 @@
   void   add_to_undo_waste(size_t waste)         { _undo_waste += waste; }
 
   DirtyCardQueue& dirty_card_queue()             { return _dcq;  }
   G1SATBCardTableModRefBS* ctbs()                { return _ct_bs; }
 
-  template <class T> inline void immediate_rs_update(HeapRegion* from, T* p, int tid);
+  template <class T> inline void immediate_rs_update(HeapRegion* from, T* p, uint tid);
 
-  template <class T> void deferred_rs_update(HeapRegion* from, T* p, int tid) {
+  template <class T> void deferred_rs_update(HeapRegion* from, T* p, uint tid) {
     // If the new value of the field points to the same region or
     // is the to-space, we don't need to include it in the Rset updates.
     if (!from->is_in_reserved(oopDesc::load_decode_heap_oop(p)) && !from->is_survivor()) {
       size_t card_index = ctbs()->index_for(p);
       // If the card hasn't been added to the buffer, do it.

@@ -122,11 +122,11 @@
   template <class T> void push_on_queue(T* ref) {
     assert(verify_ref(ref), "sanity");
     _refs->push(ref);
   }
 
-  template <class T> inline void update_rs(HeapRegion* from, T* p, int tid);
+  template <class T> inline void update_rs(HeapRegion* from, T* p, uint tid);
 
  private:
 
   inline HeapWord* allocate(GCAllocPurpose purpose, size_t word_sz);
   inline HeapWord* allocate_slow(GCAllocPurpose purpose, size_t word_sz);