# HG changeset patch # User brutisso # Date 1319098895 -7200 # Node ID 4ce4a9b105239a989902f158761d5f43c23f0699 # Parent dfdb9eb56e494482acd668b7e7dbe653b7a5eae5 7097516: G1: assert(0<= from_card && from_cardis_in_reserved(from)) { + // If the table used to belong to a continues humongous region and is + // now reused for the corresponding start humongous region, we need to + // make sure that we detect this. Thus, we call is_in_reserved_raw() + // instead of just is_in_reserved() here. + if (loc_hr->is_in_reserved_raw(from)) { size_t hw_offset = pointer_delta((HeapWord*)from, loc_hr->bottom()); CardIdx_t from_card = (CardIdx_t) hw_offset >> (CardTableModRefBS::card_shift - LogHeapWordSize);