You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/26 16:45:57 UTC

[GitHub] Param-S closed pull request #21: Enable Class Data Sharing option for Java runtime

Param-S closed pull request #21: Enable Class Data Sharing option for Java runtime
URL: https://github.com/apache/incubator-openwhisk-runtime-java/pull/21
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/javaAction/Dockerfile b/core/javaAction/Dockerfile
index 93add0f..b6744d7 100644
--- a/core/javaAction/Dockerfile
+++ b/core/javaAction/Dockerfile
@@ -35,4 +35,6 @@ RUN cd /javaAction; ./gradlew oneJar
 
 RUN rm -rf /javaAction/src
 
-CMD ["java", "-jar", "/javaAction/build/libs/javaAction-all.jar"]
+RUN java -Xshare:dump
+
+CMD ["java", "-Xshare:on", "-jar", "/javaAction/build/libs/javaAction-all.jar"]


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services