diff src/share/vm/utilities/globalDefinitions.hpp @ 10355:fb14e9ed1594

8011064: Some tests have failed with SIGSEGV on arm-hflt on build b82 Summary: NMT_detail is only supported when frame pointers are not omitted (-fno-omit-frame-pointer). Reviewed-by: dholmes, cjplummer
author jprovino
date Tue, 28 May 2013 11:32:46 -0400
parents 63e31ce40bdb
children f2110083203d 16b10327b00d
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp	Fri May 24 09:35:10 2013 -0700
+++ b/src/share/vm/utilities/globalDefinitions.hpp	Tue May 28 11:32:46 2013 -0400
@@ -380,6 +380,14 @@
 # include "globalDefinitions_ppc.hpp"
 #endif
 
+/*
+ * If a platform does not support NMT_detail
+ * the platform specific globalDefinitions (above)
+ * can set PLATFORM_NMT_DETAIL_SUPPORTED to false
+ */
+#ifndef PLATFORM_NMT_DETAIL_SUPPORTED
+#define PLATFORM_NMT_DETAIL_SUPPORTED true
+#endif
 
 // The byte alignment to be used by Arena::Amalloc.  See bugid 4169348.
 // Note: this value must be a power of 2