mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8032633: Enable type speculation by default
Enable type speculation Reviewed-by: kvn
This commit is contained in:
parent
533560cb3e
commit
d5ff84f8b3
5 changed files with 5 additions and 5 deletions
|
@ -650,7 +650,7 @@
|
||||||
experimental(bool, ReplaceInParentMaps, false, \
|
experimental(bool, ReplaceInParentMaps, false, \
|
||||||
"Propagate type improvements in callers of inlinee if possible") \
|
"Propagate type improvements in callers of inlinee if possible") \
|
||||||
\
|
\
|
||||||
experimental(bool, UseTypeSpeculation, false, \
|
product(bool, UseTypeSpeculation, true, \
|
||||||
"Speculatively propagate types from profiles") \
|
"Speculatively propagate types from profiles") \
|
||||||
\
|
\
|
||||||
diagnostic(bool, UseInlineDepthForSpeculativeTypes, true, \
|
diagnostic(bool, UseInlineDepthForSpeculativeTypes, true, \
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 8027571
|
* @bug 8027571
|
||||||
* @summary meet of TopPTR exact array with constant array is not symmetric
|
* @summary meet of TopPTR exact array with constant array is not symmetric
|
||||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseOnStackReplacement -XX:TypeProfileLevel=222 -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:-BackgroundCompilation TestMeetTopArrayExactConstantArray
|
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseOnStackReplacement -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation -XX:-BackgroundCompilation TestMeetTopArrayExactConstantArray
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 8027422
|
* @bug 8027422
|
||||||
* @summary type methods shouldn't always operate on speculative part
|
* @summary type methods shouldn't always operate on speculative part
|
||||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:-BackgroundCompilation TestSpeculationFailedHigherEqual
|
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation -XX:-BackgroundCompilation TestSpeculationFailedHigherEqual
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 8024070
|
* @bug 8024070
|
||||||
* @summary Test that type speculation doesn't cause incorrect execution
|
* @summary Test that type speculation doesn't cause incorrect execution
|
||||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:TypeProfileLevel=222 -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation TypeSpeculation
|
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:TypeProfileLevel=222 -XX:+UseTypeSpeculation TypeSpeculation
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 8031752
|
* @bug 8031752
|
||||||
* @summary speculative traps need to be cleaned up at GC
|
* @summary speculative traps need to be cleaned up at GC
|
||||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+UnlockExperimentalVMOptions -XX:+UseTypeSpeculation -XX:TypeProfileLevel=222 -XX:CompileCommand=exclude,java.lang.reflect.Method::invoke -XX:CompileCommand=exclude,sun.reflect.DelegatingMethodAccessorImpl::invoke -Xmx1M TestSpecTrapClassUnloading
|
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-TieredCompilation -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -XX:+UseTypeSpeculation -XX:TypeProfileLevel=222 -XX:CompileCommand=exclude,java.lang.reflect.Method::invoke -XX:CompileCommand=exclude,sun.reflect.DelegatingMethodAccessorImpl::invoke -Xmx1M TestSpecTrapClassUnloading
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue