8054547: Re-enable warning for incompatible java launcher
Summary: Re-enabled warning as launcher change reached promotion build
Reviewed-by: hseigel, coleenp
--- a/hotspot/src/share/vm/runtime/arguments.cpp Tue Aug 12 21:16:05 2014 -0400
+++ b/hotspot/src/share/vm/runtime/arguments.cpp Thu Aug 14 13:15:23 2014 -0400
@@ -3596,9 +3596,9 @@
#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()) {