1.1 --- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.inline.hpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2012, 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 @@ -61,7 +61,10 @@ 1.11 assert(index < _vs.committed_size(), "bad index"); 1.12 HeapWord* result = _reserved.start() + (index << LogN_words); 1.13 assert(result >= _reserved.start() && result < _reserved.end(), 1.14 - "bad address from index"); 1.15 + err_msg("bad address from index result " PTR_FORMAT 1.16 + " _reserved.start() " PTR_FORMAT " _reserved.end() " 1.17 + PTR_FORMAT, 1.18 + result, _reserved.start(), _reserved.end())); 1.19 return result; 1.20 } 1.21