Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 12966:b2ee5dc63353
8024070: C2 needs some form of type speculation
Summary: record unused type profile information with type system, propagate and use it.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Wed, 23 Oct 2013 12:40:23 +0200 |
parents | 027006a47a6d |
children | 68f07c29521b |
comparison
equal
deleted
inserted
replaced
12965:8b4bbba322d3 | 12966:b2ee5dc63353 |
---|---|
3719 #endif | 3719 #endif |
3720 if (IncrementalInline && FLAG_IS_DEFAULT(MaxNodeLimit)) { | 3720 if (IncrementalInline && FLAG_IS_DEFAULT(MaxNodeLimit)) { |
3721 // incremental inlining: bump MaxNodeLimit | 3721 // incremental inlining: bump MaxNodeLimit |
3722 FLAG_SET_DEFAULT(MaxNodeLimit, (intx)75000); | 3722 FLAG_SET_DEFAULT(MaxNodeLimit, (intx)75000); |
3723 } | 3723 } |
3724 if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) { | |
3725 // nothing to use the profiling, turn if off | |
3726 FLAG_SET_DEFAULT(TypeProfileLevel, 0); | |
3727 } | |
3728 if (UseTypeSpeculation && FLAG_IS_DEFAULT(ReplaceInParentMaps)) { | |
3729 // Doing the replace in parent maps helps speculation | |
3730 FLAG_SET_DEFAULT(ReplaceInParentMaps, true); | |
3731 } | |
3724 #endif | 3732 #endif |
3725 | 3733 |
3726 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { | 3734 if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) { |
3727 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); | 3735 warning("PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output"); |
3728 DebugNonSafepoints = true; | 3736 DebugNonSafepoints = true; |