1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Wed Mar 18 11:37:48 2009 -0400 1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Thu Mar 19 09:13:24 2009 -0700 1.3 @@ -508,7 +508,7 @@ 1.4 typedef PosParPRT* PosParPRTPtr; 1.5 if (_max_fine_entries == 0) { 1.6 assert(_mod_max_fine_entries_mask == 0, "Both or none."); 1.7 - _max_fine_entries = (1 << G1LogRSRegionEntries); 1.8 + _max_fine_entries = (size_t)(1 << G1LogRSRegionEntries); 1.9 _mod_max_fine_entries_mask = _max_fine_entries - 1; 1.10 #if SAMPLE_FOR_EVICTION 1.11 assert(_fine_eviction_sample_size == 0