src/share/vm/memory/threadLocalAllocBuffer.inline.hpp

changeset 1934
e9ff18c4ace7
parent 1907
c18cbe5936b8
parent 1926
2d127394260e
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp	Tue Jun 01 11:48:33 2010 -0700
     1.2 +++ b/src/share/vm/memory/threadLocalAllocBuffer.inline.hpp	Wed Jun 02 22:45:42 2010 -0700
     1.3 @@ -31,7 +31,7 @@
     1.4      // Skip mangling the space corresponding to the object header to
     1.5      // ensure that the returned space is not considered parsable by
     1.6      // any concurrent GC thread.
     1.7 -    size_t hdr_size = CollectedHeap::min_fill_size();
     1.8 +    size_t hdr_size = oopDesc::header_size();
     1.9      Copy::fill_to_words(obj + hdr_size, size - hdr_size, badHeapWordVal);
    1.10  #endif // ASSERT
    1.11      // This addition is safe because we know that top is

mercurial