8054547: Re-enable warning for incompatible java launcher

Re-enabled warning as launcher change reached promotion build

Reviewed-by: hseigel, coleenp
This commit is contained in:
Zhengyu Gu 2014-08-14 13:15:23 -04:00
parent 1fec07f4bf
commit 67c70b66e4

View File

@ -3596,9 +3596,9 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
#if INCLUDE_NMT
if (match_option(option, "-XX:NativeMemoryTracking", &tail)) {
// The launcher did not setup nmt environment variable properly.
// if (!MemTracker::check_launcher_nmt_support(tail)) {
// warning("Native Memory Tracking did not setup properly, using wrong launcher?");
// }
if (!MemTracker::check_launcher_nmt_support(tail)) {
warning("Native Memory Tracking did not setup properly, using wrong launcher?");
}
// Verify if nmt option is valid.
if (MemTracker::verify_nmt_option()) {