src/share/vm/runtime/java.cpp

changeset 2966
ef2d1b8f2dd4
parent 2586
23ae54207126
child 3039
0f34fdee809e
equal deleted inserted replaced
2965:42df21744b50 2966:ef2d1b8f2dd4
466 466
467 // shut down the StatSampler task 467 // shut down the StatSampler task
468 StatSampler::disengage(); 468 StatSampler::disengage();
469 StatSampler::destroy(); 469 StatSampler::destroy();
470 470
471 #ifndef SERIALGC 471 // We do not need to explicitly stop concurrent GC threads because the
472 // stop CMS threads 472 // JVM will be taken down at a safepoint when such threads are inactive --
473 if (UseConcMarkSweepGC) { 473 // except for some concurrent G1 threads, see (comment in)
474 ConcurrentMarkSweepThread::stop(); 474 // Threads::destroy_vm().
475 }
476 #endif // SERIALGC
477 475
478 // Print GC/heap related information. 476 // Print GC/heap related information.
479 if (PrintGCDetails) { 477 if (PrintGCDetails) {
480 Universe::print(); 478 Universe::print();
481 AdaptiveSizePolicyOutput(0); 479 AdaptiveSizePolicyOutput(0);

mercurial