/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "precompiled.hpp"
#include "services/nmtDCmd.hpp"
#include "services/memReporter.hpp"
#include "services/memTracker.hpp"
#include "utilities/globalDefinitions.hpp"
"which includes total reserved and committed memory, along " \
"with memory usage summary by each subsytem.",
"BOOLEAN", false, "false"),
"1K by each callsite.",
"BOOLEAN", false, "false"),
"so it can be compared against in later time.",
"BOOLEAN", false, "false"),
"comparison against previous baseline.",
"BOOLEAN", false, "false"),
"comparison against previous baseline, which shows the memory " \
"allocation activities at different callsites.",
"BOOLEAN", false, "false"),
"memory used by runtime.",
"BOOLEAN", false, "false"),
"stress situation",
"BOOLEAN", true, "true"),
#ifndef PRODUCT
"BOOLEAN", false, "false"),
#endif
"STRING", false, "KB") {
#ifndef PRODUCT
#endif
}
scale_unit = K;
scale_unit = M;
scale_unit = G;
} else {
return;
}
int nopt = 0;
#ifndef PRODUCT
#endif
if (nopt > 1) {
"summary, detail, baseline, summary.diff, detail.diff, shutdown"
#ifndef PRODUCT
", debug"
#endif
);
return;
} else if (nopt == 0) {
return;
} else {
}
}
#ifndef PRODUCT
return;
}
#endif
// native memory tracking has to be on
// if it is not on, what's the reason?
return;
}
if (MemTracker::baseline()) {
} else {
}
} else if (_summary_diff.value()) {
if (MemTracker::has_baseline()) {
} else {
}
} else if (_detail_diff.value()) {
if (MemTracker::has_baseline()) {
} else {
}
"completely shutdown");
} else if (_auto_shutdown.is_set()) {
} else {
}
}
} else {
return 0;
}
}