Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smaller Java 9 apps in Docker

This project showcases what is in my opinion the coolest features in JDK 9:

  • ability to create custom runtime for your application
  • native support for Alpine Linux

This translates to less disk space and faster startup times than the full JVM. Whether or not it improves memory usage or speed after initial startup is an open question in my mind.

TL; DR version

REPOSITORY=stevenacoffman/java9-bench
docker build -t "${REPOSITORY}:latest" .
docker run -it stevenacoffman/java9-bench

Acknowledgments

Run the container image

Running the container is old news:

  docker run stevenacoffman/java9-bench

About

Simple benchmarking of java9 jlink, aot, and CDS features

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages