Mercurial > hg > truffle
comparison src/share/vm/runtime/sweeper.cpp @ 17812:a7d4d4655766
Merge
author | kvn |
---|---|
date | Wed, 26 Mar 2014 18:21:05 -0700 |
parents | a9becfeecd1b |
children | d8041d695d19 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17789:6b207d038106 | 17812:a7d4d4655766 |
---|---|
307 // can further increase by calls to 'report_state_change'. | 307 // can further increase by calls to 'report_state_change'. |
308 if (_should_sweep) { | 308 if (_should_sweep) { |
309 _bytes_changed = 0; | 309 _bytes_changed = 0; |
310 } | 310 } |
311 } | 311 } |
312 _sweep_started = 0; | 312 // Release work, because another compiler thread could continue. |
313 OrderAccess::release_store((int*)&_sweep_started, 0); | |
313 } | 314 } |
314 } | 315 } |
315 | 316 |
316 void NMethodSweeper::sweep_code_cache() { | 317 void NMethodSweeper::sweep_code_cache() { |
317 Ticks sweep_start_counter = Ticks::now(); | 318 Ticks sweep_start_counter = Ticks::now(); |