--- old/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp 2015-04-08 16:59:20.137815575 -0400 +++ new/src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp 2015-04-08 16:59:20.047399878 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2015, 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 @@ -124,6 +124,7 @@ set_top(new_top); assert(is_object_aligned((intptr_t)obj) && is_object_aligned((intptr_t)new_top), "checking alignment"); + assert(_start_array->covered_region().contains(MemRegion(obj, size)), "Allocated beyond end of covered region"); _start_array->allocate_block(obj); return obj; }