aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/resources
diff options
context:
space:
mode:
authorhannesw <none@none>2014-04-02 18:26:57 +0200
committerhannesw <none@none>2014-04-02 18:26:57 +0200
commit858b18094bcabce4ecc1707c4fe127417914fa78 (patch)
treeea1ba6df2a9218f6a2ebf6df2b850feeeaa539ac /src/jdk/nashorn/internal/runtime/resources
parentc9e2e258e421bbd3d889380801fa83b5154e3f1d (diff)
downloadnashorn-858b18094bcabce4ecc1707c4fe127417914fa78.tar.gz
8038638: Persistent store for compiled scripts
Reviewed-by: lagergren, sundar
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/resources')
-rw-r--r--src/jdk/nashorn/internal/runtime/resources/Options.properties8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jdk/nashorn/internal/runtime/resources/Options.properties b/src/jdk/nashorn/internal/runtime/resources/Options.properties
index 27262111..033fcc25 100644
--- a/src/jdk/nashorn/internal/runtime/resources/Options.properties
+++ b/src/jdk/nashorn/internal/runtime/resources/Options.properties
@@ -230,6 +230,14 @@ nashorn.option.parse.only = { \
desc="Parse without compiling." \
}
+nashorn.option.persistent.code.cache = { \
+ name="--persistent-code-cache", \
+ short_name="-pcc", \
+ desc="Enable disk cache for compiled scripts.", \
+ is_undocumented=true, \
+ default=false \
+}
+
nashorn.option.profile.callsites = { \
name="--profile-callsites", \
short_name="-pcs", \