*Really* Small Java Apps


27 bookmarks. First posted by ither march 2019.


Since bundling apps and runtime is the new best-practice (whether with Docker or jpackage), and the full JVM weighs in at hundreds of megabytes, how can we i...
java  jdk  jvm  performance  containers  docker  devops  cicd  lists  advice  packaging 
5 days ago by po
Since bundling apps and runtime is the new best-practice (whether with Docker or jpackage), and the full JVM weighs in at hundreds of megabytes, how can we include only the minimal JVM subset our application requires? This post explores 4 complementary ways
java  docker  performance 
5 days ago by archangel
e bundling apps and runtime is the new best-practice (whether with Docker or jpackage), and the full JVM weighs in at hundreds of megabytes, how can we include only the minimal JVM subset our application requires? This post explores 4 complementary ways:

Build a minimal JDK image
Use jlink to create an application image
Choose a minimal docker image
Use the jlink image with jpackage

Building the JDK

OpenJDK has many features, including 7 Garbage Collectors (Epsilon...
docker  java  performance  jvm  jdk  programming  bestpractices  compile  kb_cpu  minimalism 
7 days ago by caritos
For a simple project requiring java.net.http, using these steps produced a 23MB jlink image. Hopefully this can be improved further if jlink improves –compress=2 to use LZ4
java  docker  performance 
7 days ago by iyoti
Since bundling apps and runtime is the new best-practice (whether with Docker or jpackage), and the full JVM weighs in at hundreds of megabytes, how can we i...
jvm  jdk  java 
8 days ago by strzalek
Since bundling apps and runtime is the new best-practice (whether with Docker or jpackage), and the full JVM weighs in at hundreds of megabytes, how can we i...
8 days ago by phutwo
Since bundling apps and runtime is the new best-practice (whether with Docker or jpackage), and the full JVM weighs in at hundreds of megabytes, how can we i...
java  jvm  jdk  compile  small 
8 days ago by planb
how can we include only the minimal JVM subset our application requires? This post explores 4 complementary ways
java  jvm  performance  docker  jdk 
march 2019 by jwd
Really small Java apps
from twitter_favs
march 2019 by pdudits
Compile parts of OpenJDK you need and bundle with your app!
Java 
march 2019 by kbonnet
OpenJDK has many features, including 7 Garbage Collectors (Epsilon, Serial, Parallel, CMS, G1, Shennandoah, ZGC!!) and experimental compilers like Graal. Building the OpenJDK is suprisingly easy (took 12 minutes for a fresh build on my 2015 macbook), so lets strip out what we don’t need!
kb_cpu  java 
march 2019 by rootis0