Mercurial > hg > graal-compiler
comparison src/share/vm/services/memoryService.cpp @ 12816:2720ab7a0d70
Merge
author | ccheung |
---|---|
date | Fri, 04 Oct 2013 21:00:43 -0700 |
parents | 72b7e96c1922 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12815:4212bfb33d76 | 12816:2720ab7a0d70 |
---|---|
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 |