![]() The entry point for the Java 11, Java 17 runtimes can be customized with user-defined environment variables added in the appengine-web.xml configuration file.Google Cloud Platform (GCP) is a set of cloud computing services offered by Google. We do not recommend changing this default entrypoint as the memory settings are calculated based on the instance type (F1, F2, F4) and memory available.īy default, we use -add-opens java.base/java.lang=ALL-UNNAMED -add-opens java.base/=ALL-UNNAMED to open some necessary JDK APIs. ![]() For example: java -add-opens java.base/java.lang=ALL-UNNAMED -add-opens java.base/=ALL-UNNAMED -showversion -Xms32M -Xmx204M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:+PrintCommandLineFlags ntimebase=/base/java_runtime =/base/java_runtime/runtime-main.jar =/base/java_runtime: com/google/apphosting/runtime/JavaRuntimeMainWithDefaults -fixed_application_path=/workspace /base/java_runtime The default entrypoint used to boot the JVM is generated by App Engine Buildpacks.Įssentially, it is equivalent to define this entrypoint in the appengine-web.xml file. The Java 11, Java 17 runtimes can benefit from extra user configuration when starting the JVM for web apps. ![]()
0 Comments
Leave a Reply. |