hotspot/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp
changeset 5694 1e0532a6abff
parent 4636 90e004691873
child 5702 201c5cde25bb
--- a/hotspot/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp	Thu May 27 09:54:07 2010 -0700
+++ b/hotspot/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp	Thu May 27 18:01:56 2010 -0700
@@ -31,7 +31,7 @@
     // Skip mangling the space corresponding to the object header to
     // ensure that the returned space is not considered parsable by
     // any concurrent GC thread.
-    size_t hdr_size = CollectedHeap::min_fill_size();
+    size_t hdr_size = oopDesc::header_size();
     Copy::fill_to_words(obj + hdr_size, size - hdr_size, badHeapWordVal);
 #endif // ASSERT
     // This addition is safe because we know that top is