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

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Wed Jul 3 17:42:04 PDT 2013


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

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-dev mailing list