comparison src/share/vm/services/memoryService.cpp @ 12322:72b7e96c1922

8024545: make develop and notproduct flag values available in product builds Reviewed-by: dholmes, kvn
author twisti
date Thu, 26 Sep 2013 12:07:53 -0700
parents 7944aba7ba41
children de6a9e811145
comparison
equal deleted inserted replaced
12295:1b64d46620a3 12322:72b7e96c1922
513 } 513 }
514 514
515 bool MemoryService::set_verbose(bool verbose) { 515 bool MemoryService::set_verbose(bool verbose) {
516 MutexLocker m(Management_lock); 516 MutexLocker m(Management_lock);
517 // verbose will be set to the previous value 517 // verbose will be set to the previous value
518 bool succeed = CommandLineFlags::boolAtPut((char*)"PrintGC", &verbose, MANAGEMENT); 518 bool succeed = CommandLineFlags::boolAtPut((char*)"PrintGC", &verbose, Flag::MANAGEMENT);
519 assert(succeed, "Setting PrintGC flag fails"); 519 assert(succeed, "Setting PrintGC flag fails");
520 ClassLoadingService::reset_trace_class_unloading(); 520 ClassLoadingService::reset_trace_class_unloading();
521 521
522 return verbose; 522 return verbose;
523 } 523 }
616 616
617 TraceMemoryManagerStats::~TraceMemoryManagerStats() { 617 TraceMemoryManagerStats::~TraceMemoryManagerStats() {
618 MemoryService::gc_end(_fullGC, _recordPostGCUsage, _recordAccumulatedGCTime, 618 MemoryService::gc_end(_fullGC, _recordPostGCUsage, _recordAccumulatedGCTime,
619 _recordGCEndTime, _countCollection, _cause); 619 _recordGCEndTime, _countCollection, _cause);
620 } 620 }
621