8026978: JSR292: fatal error: Type profiling not implemented on this platform

Force TypeProfileLevel to 0 on non x86

Reviewed-by: twisti
This commit is contained in:
Roland Westrelin 2013-10-24 19:32:34 +02:00
parent cb5592b08e
commit 6738fb5c5d

View File

@ -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)) {