comparison src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp @ 645:c3a720eefe82

6816308: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003 Summary: Allow Hotspot builds with latest Windows SDK 6.1 on 64bit Windows 2003 Reviewed-by: ohair, tbell, jcoomes
author kvn
date Mon, 16 Mar 2009 15:06:33 -0700
parents 58054a18d735
children bd441136a5ce
comparison
equal deleted inserted replaced
644:c517646eef23 645:c3a720eefe82
506 _sparse_table(hr) 506 _sparse_table(hr)
507 { 507 {
508 typedef PosParPRT* PosParPRTPtr; 508 typedef PosParPRT* PosParPRTPtr;
509 if (_max_fine_entries == 0) { 509 if (_max_fine_entries == 0) {
510 assert(_mod_max_fine_entries_mask == 0, "Both or none."); 510 assert(_mod_max_fine_entries_mask == 0, "Both or none.");
511 _max_fine_entries = (1 << G1LogRSRegionEntries); 511 _max_fine_entries = (size_t)(1 << G1LogRSRegionEntries);
512 _mod_max_fine_entries_mask = _max_fine_entries - 1; 512 _mod_max_fine_entries_mask = _max_fine_entries - 1;
513 #if SAMPLE_FOR_EVICTION 513 #if SAMPLE_FOR_EVICTION
514 assert(_fine_eviction_sample_size == 0 514 assert(_fine_eviction_sample_size == 0
515 && _fine_eviction_stride == 0, "All init at same time."); 515 && _fine_eviction_stride == 0, "All init at same time.");
516 _fine_eviction_sample_size = MAX2((size_t)4, (size_t)G1LogRSRegionEntries); 516 _fine_eviction_sample_size = MAX2((size_t)4, (size_t)G1LogRSRegionEntries);