diff src/share/vm/runtime/arguments.cpp @ 12976: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 68f07c29521b
children 3b3133d93fb6
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)) {