--- old/src/share/vm/memory/genCollectedHeap.cpp 2013-06-04 17:03:26.979740725 +0200 +++ new/src/share/vm/memory/genCollectedHeap.cpp 2013-06-04 17:03:26.783740719 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -95,7 +95,7 @@ guarantee(HeapWordSize == wordSize, "HeapWordSize must equal wordSize"); // The heap must be at least as aligned as generations. - size_t alignment = Generation::GenGrain; + size_t alignment = max_heap_alignment(); _gen_specs = gen_policy()->generations();