changeset 5566:f7d928a3181c

8026978: JSR292: fatal error: Type profiling not implemented on this platform Summary: force TypeProfileLevel to 0 on non x86 Reviewed-by: twisti
author roland
date Thu, 24 Oct 2013 19:32:34 +0200
parents 0d1661d63d70
children 395499125cb0 cbe8ba0fb8fc
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Oct 23 20:20:03 2013 +0400
+++ b/src/share/vm/runtime/arguments.cpp	Thu Oct 24 19:32:34 2013 +0200
@@ -3723,6 +3723,10 @@
     // Doing the replace in parent maps helps speculation
     FLAG_SET_DEFAULT(ReplaceInParentMaps, true);
   }
+#ifndef X86
+  // Only on x86 for now
+  FLAG_SET_DEFAULT(TypeProfileLevel, 0);
+#endif
 #endif
 
   if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {