comparison src/share/vm/gc/parallel/psMarkSweep.cpp @ 8522:8597e296c18b

8080947: Add uint as a valid VM flag type Reviewed-by: brutisso, ddmitriev
author david
date Thu, 04 Jun 2015 14:29:34 +0200
parents f08536ebf811
children 1756c98d5437
comparison
equal deleted inserted replaced
1:b19f666feb64 2:cf75b47b359f
94 94
95 const bool clear_all_soft_refs = 95 const bool clear_all_soft_refs =
96 heap->collector_policy()->should_clear_all_soft_refs(); 96 heap->collector_policy()->should_clear_all_soft_refs();
97 97
98 uint count = maximum_heap_compaction ? 1 : MarkSweepAlwaysCompactCount; 98 uint count = maximum_heap_compaction ? 1 : MarkSweepAlwaysCompactCount;
99 UIntFlagSetting flag_setting(MarkSweepAlwaysCompactCount, count); 99 UIntXFlagSetting flag_setting(MarkSweepAlwaysCompactCount, count);
100 PSMarkSweep::invoke_no_policy(clear_all_soft_refs || maximum_heap_compaction); 100 PSMarkSweep::invoke_no_policy(clear_all_soft_refs || maximum_heap_compaction);
101 } 101 }
102 102
103 // This method contains no policy. You should probably 103 // This method contains no policy. You should probably
104 // be calling invoke() instead. 104 // be calling invoke() instead.