< prev index next >

src/hotspot/share/gc/g1/g1FullGCPrepareTask.inline.hpp

Print this page
@@ -107,20 +107,20 @@
    }
  
    return false;
  }
  
- inline size_t G1SerialRePrepareClosure::apply(oop obj) {
-   // We only re-prepare objects forwarded within the current region, so
-   // skip objects that are already forwarded to another region.
-   if (obj->is_forwarded() && !_current->is_in(obj->forwardee())) {
-     return obj->size();
-   }
- 
-   // Get size and forward.
-   size_t size = obj->size();
-   _cp->forward(obj, size);
- 
-   return size;
- }
+ //inline size_t G1SerialRePrepareClosure::apply(oop obj) {
+ //  // We only re-prepare objects forwarded within the current region, so
+ //  // skip objects that are already forwarded to another region.
+ //  if (obj->is_forwarded() && !_current->is_in(obj->forwardee())) {
+ //    return obj->size();
+ //  }
+ //
+ //  // Get size and forward.
+ //  size_t size = obj->size();
+ //  _cp->forward(obj, size);
+ //
+ //  return size;
+ //}
  
  #endif // SHARE_GC_G1_G1FULLGCPREPARETASK_INLINE_HPP
< prev index next >