1.1 --- a/src/share/vm/gc_implementation/g1/g1RemSet.cpp Tue Feb 01 14:05:46 2011 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/g1RemSet.cpp Wed Feb 02 10:41:20 2011 -0800 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, 2011, 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 @@ -735,7 +735,7 @@ 1.11 MemRegion dirtyRegion(start, end); 1.12 1.13 #if CARD_REPEAT_HISTO 1.14 - init_ct_freq_table(_g1->g1_reserved_obj_bytes()); 1.15 + init_ct_freq_table(_g1->max_capacity()); 1.16 ct_freq_note_card(_ct_bs->index_for(start)); 1.17 #endif 1.18