aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources/Options.properties
diff options
context:
space:
mode:
authorasaha <none@none>2014-10-14 10:20:24 -0700
committerasaha <none@none>2014-10-14 10:20:24 -0700
commitcc3a0b3beb619d54aabd7e1398f7792eb50f0383 (patch)
treeb4505ed4d26d444884643101cfae7e829b7cd701 /src/jdk/nashorn/internal/runtime/resources/Options.properties
parentdb19ccc81a26ce5c58b1cdc0d2e09646db527241 (diff)
parente0195d428f9382a145aa91110a2431df521c8752 (diff)
downloadnashorn-cc3a0b3beb619d54aabd7e1398f7792eb50f0383.tar.gz
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources/Options.properties')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Options.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk/nashorn/internal/runtime/resources/Options.properties
index a5e8cd5a..57943e01 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Options.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Options.properties
@@ -203,9 +203,9 @@ nashorn.option.lazy.compilation = {
nashorn.option.optimistic.types = { \
name="--optimistic-types", \
- is_undocumented=true, \
- desc="Use optimistic type assumptions with deoptimizing recompilation.", \
- default=true \
+ short_name="-ot", \
+ 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 = { \