388 |
388 |
389 // shut down the StatSampler task |
389 // shut down the StatSampler task |
390 StatSampler::disengage(); |
390 StatSampler::disengage(); |
391 StatSampler::destroy(); |
391 StatSampler::destroy(); |
392 |
392 |
393 // shut down the TimeMillisUpdateTask |
|
394 if (CacheTimeMillis) { |
|
395 TimeMillisUpdateTask::disengage(); |
|
396 } |
|
397 |
|
398 #ifndef SERIALGC |
393 #ifndef SERIALGC |
399 // stop CMS threads |
394 // stop CMS threads |
400 if (UseConcMarkSweepGC) { |
395 if (UseConcMarkSweepGC) { |
401 ConcurrentMarkSweepThread::stop(); |
396 ConcurrentMarkSweepThread::stop(); |
402 } |
397 } |