< prev index next >

src/share/vm/gc/cms/compactibleFreeListSpace.hpp

Print this page
rev 9847 : 8146395: Add inline qualifier in oop.hpp and fix inlining in gc files
Summary: Fix remaining issues after 8146401

@@ -311,13 +311,11 @@
 
   inline size_t adjust_obj_size(size_t size) const {
     return adjustObjectSize(size);
   }
 
-  inline size_t obj_size(const HeapWord* addr) const {
-    return adjustObjectSize(oop(addr)->size());
-  }
+  inline size_t obj_size(const HeapWord* addr) const;
 
  protected:
   // Reset the indexed free list to its initial empty condition.
   void resetIndexedFreeListArray();
   // Reset to an initial state with a single free block described
< prev index next >