Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
12975:0d1661d63d70 | 12976:f7d928a3181c |
---|---|
3721 } | 3721 } |
3722 if (UseTypeSpeculation && FLAG_IS_DEFAULT(ReplaceInParentMaps)) { | 3722 if (UseTypeSpeculation && FLAG_IS_DEFAULT(ReplaceInParentMaps)) { |
3723 // Doing the replace in parent maps helps speculation | 3723 // Doing the replace in parent maps helps speculation |
3724 FLAG_SET_DEFAULT(ReplaceInParentMaps, true); | 3724 FLAG_SET_DEFAULT(ReplaceInParentMaps, true); |
3725 } | 3725 } |
3726 #ifndef X86 | |
3727 // Only on x86 for now | |
3728 FLAG_SET_DEFAULT(TypeProfileLevel, 0); | |
3729 #endif | |
3726 #endif | 3730 #endif |
3727 | 3731 |
3728 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { | 3732 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { |
3729 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); | 3733 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); |
3730 DebugNonSafepoints = true; | 3734 DebugNonSafepoints = true; |