Skip to content

v0.1.3

Choose a tag to compare

@Project516 Project516 released this 08 Nov 22:40
b875737

Smaller downloads, and a JDK image a site can trim.

  • The JDK image is no longer one 125 MB jdk/image.jar. jdk/image.jar (31 MB) holds java.base and the files around the classes, each other module has its own jdk/<module>.jar, and jdk/ct.sym.jar holds what javac --release reads. Every file is under 30 MB. A site can leave out the files of modules its pages never load; a class in a left-out module throws NoClassDefFoundError and the console names the missing file (#75).
  • A new jdk/app.pack, fetched the first time a program needs it, holds what typical programs read beyond a bare start, and jdk/javac.pack is now recorded from a realistic compile. A cold session fetches far less: a compile of a multi-file project with annotation processors went from 16.5 MB to 8.2 MB, and starting a program from its jar from 9.1 MB to 5.4 MB (#76).
  • Serve jdk/app.pack along with the rest of jdk/.

Features

  • put each JDK module but java.base in its own image file (#75)

Performance

  • add app.pack and record javac.pack from a realistic compile (#76)

Documentation

  • GitHub Pages must deploy from Actions to serve jdk/image.jar (#74)

Full list: v0.1.2...v0.1.3