From 6738fb5c5da5e1ae06c4aca142860d122169b51c Mon Sep 17 00:00:00 2001 From: Roland Westrelin Date: Thu, 24 Oct 2013 19:32:34 +0200 Subject: [PATCH] 8026978: JSR292: fatal error: Type profiling not implemented on this platform Force TypeProfileLevel to 0 on non x86 Reviewed-by: twisti --- hotspot/src/share/vm/runtime/arguments.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hotspot/src/share/vm/runtime/arguments.cpp b/hotspot/src/share/vm/runtime/arguments.cpp index d9f94f48cd5..fce983f8cff 100644 --- a/hotspot/src/share/vm/runtime/arguments.cpp +++ b/hotspot/src/share/vm/runtime/arguments.cpp @@ -3723,6 +3723,10 @@ jint Arguments::apply_ergo() { // 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)) {