--- old/src/share/vm/gc_implementation/g1/heapRegion.hpp 2013-06-04 17:03:23.895740643 +0200 +++ new/src/share/vm/gc_implementation/g1/heapRegion.hpp 2013-06-04 17:03:23.731740638 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 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 @@ -354,6 +354,8 @@ ~((1 << (size_t) LogOfHRGrainBytes) - 1); } + // return the (conservative) maximum heap alignment for any heap region + static size_t max_heap_alignment(); // It sets up the heap region size (GrainBytes / GrainWords), as // well as other related fields that are based on the heap region // size (LogOfHRGrainBytes / LogOfHRGrainWords /