hg: hsx/hotspot-gc/hotspot: 8017070: G1: assert(_card_counts[card_num] <= G1ConcRSHotCardLimit) failed

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Mon Jul 1 18:43:40 UTC 2013


Changeset: 5ea20b3bd249
Author:    johnc
Date:      2013-07-01 09:30 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/5ea20b3bd249

8017070: G1: assert(_card_counts[card_num] <= G1ConcRSHotCardLimit) failed
Summary: The assert is invalid when a card is being refined by two different threads and its count crosses the hot threshold - the refinement count will be updated once by each thread triggering the assert. Remove the assert and update the count using a bounded expression.
Reviewed-by: jmasa, tamao, brutisso

! src/share/vm/gc_implementation/g1/g1CardCounts.cpp




More information about the hotspot-gc-dev mailing list