aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources/Options.properties
diff options
context:
space:
mode:
authorlagergren <none@none>2014-10-09 10:19:24 +0200
committerlagergren <none@none>2014-10-09 10:19:24 +0200
commit930912b5c7589ccc65db99bbf5befdeb62689cda (patch)
tree09bbeff6bd0b58f5bbfbe473b1458c122916e406 /src/jdk/nashorn/internal/runtime/resources/Options.properties
parente30693eabf9a596cf99d02c731f1d8e2932a3b9a (diff)
downloadnashorn-930912b5c7589ccc65db99bbf5befdeb62689cda.tar.gz
8059811: Turn off optimistic typing by default and add both ant test-pessimistic and ant test-optimistic sub-test suites.
Reviewed-by: attila, shade, hannesw
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources/Options.properties')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Options.properties5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk/nashorn/internal/runtime/resources/Options.properties
index 681fa43f..57943e01 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Options.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Options.properties
@@ -204,9 +204,8 @@ nashorn.option.lazy.compilation = {
nashorn.option.optimistic.types = { \
name="--optimistic-types", \
short_name="-ot", \
- is_undocumented=true, \
- desc="Use optimistic type assumptions with deoptimizing recompilation.", \
- default=true \
+ desc="Use optimistic type assumptions with deoptimizing recompilation. This makes the compiler try, for any program symbol whose type cannot be proven at compile time, to type it as narrow and primitive as possible. If the runtime encounters an error because symbol type is too narrow, a wider method will be generated until steady stage is reached. While this produces as optimal Java Bytecode as possible, erroneous type guesses will lead to longer warmup. Optimistic typing is currently disabled by default, but can be enabled for significantly better peak performance.", \
+ default=false \
}
nashorn.option.loader.per.compile = { \