Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 6770:9a86ddfc6c8f
7188594: Print statistic collected by NMT with VM flag
Summary: Print out statistics of collected NMT data if it is on at VM exits
Reviewed-by: kvn, coleenp, twisti
author | zgu |
---|---|
date | Mon, 17 Sep 2012 16:37:26 -0400 |
parents | 11fb740ce98f |
children | b86575d092a2 |
comparison
equal
deleted
inserted
replaced
6768:716e6ef4482a | 6770:9a86ddfc6c8f |
---|---|
1975 | 1975 |
1976 status = status && verify_object_alignment(); | 1976 status = status && verify_object_alignment(); |
1977 | 1977 |
1978 status = status && verify_min_value(ClassMetaspaceSize, 1*M, | 1978 status = status && verify_min_value(ClassMetaspaceSize, 1*M, |
1979 "ClassMetaspaceSize"); | 1979 "ClassMetaspaceSize"); |
1980 | |
1981 // check native memory tracking flags | |
1982 if (PrintNMTStatistics && MemTracker::tracking_level() == MemTracker::NMT_off) { | |
1983 warning("PrintNMTStatistics is disabled, because native memory tracking is not enabled"); | |
1984 PrintNMTStatistics = false; | |
1985 } | |
1980 | 1986 |
1981 return status; | 1987 return status; |
1982 } | 1988 } |
1983 | 1989 |
1984 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, | 1990 bool Arguments::is_bad_option(const JavaVMOption* option, jboolean ignore, |