hotspot/src/share/vm/gc/g1/g1EvacFailure.cpp
changeset 31346 a70d45c06136
parent 31331 a7c714b6cfb3
child 31631 4536cf7bc89f
--- a/hotspot/src/share/vm/gc/g1/g1EvacFailure.cpp	Fri Jun 12 17:29:14 2015 -0400
+++ b/hotspot/src/share/vm/gc/g1/g1EvacFailure.cpp	Fri Jun 12 19:49:54 2015 -0400
@@ -190,7 +190,7 @@
     bool during_initial_mark = _g1h->collector_state()->during_initial_mark_pause();
     bool during_conc_mark = _g1h->collector_state()->mark_in_progress();
 
-    assert(!hr->is_humongous(), "sanity");
+    assert(!hr->is_pinned(), err_msg("Unexpected pinned region at index %u", hr->hrm_index()));
     assert(hr->in_collection_set(), "bad CS");
 
     if (_hrclaimer->claim_region(hr->hrm_index())) {