# HG changeset patch # User roland # Date 1382635954 -7200 # Node ID f7d928a3181c40b16d0c9c952a94bff16f1f9a07 # Parent 0d1661d63d703894799f1831c01dd98f3f546bf2 8026978: JSR292: fatal error: Type profiling not implemented on this platform Summary: force TypeProfileLevel to 0 on non x86 Reviewed-by: twisti diff -r 0d1661d63d70 -r f7d928a3181c src/share/vm/runtime/arguments.cpp --- 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)) {