1.1 --- a/src/share/vm/memory/metablock.cpp Thu Mar 07 14:06:44 2013 -0500 1.2 +++ b/src/share/vm/memory/metablock.cpp Fri Mar 08 11:47:57 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -65,10 +65,9 @@ 1.11 } 1.12 1.13 Metablock* result = (Metablock*) p; 1.14 - 1.15 - // Clear the memory 1.16 - Copy::fill_to_aligned_words((HeapWord*)result, word_size); 1.17 #ifdef ASSERT 1.18 + // Add just to catch missing initializations 1.19 + Copy::fill_to_words((HeapWord*) result, word_size, 0xf1f1f1f1); 1.20 result->set_word_size(word_size); 1.21 #endif 1.22 return result;