What is Minimal Values Type?

Bjorn Vardal from IBM and Frederic Parain from Oracle report about value types being explored in the Value Types Valhalla project
08 August 2017   972

To provide a path towards earlier community involvement and feedback from early adopters, the Valhalla Value Types project is working on an experimental initial implementation step. The intent is to explore a subset of JVM changes that would be required to support Value Types, without exposing them through the Java language compiler. Through a clever use of MethodHandles and byte code generation, we can give an early taste of some of the capabilities of Value Types. This talk will focus on the subset of Value Types provided in the Minimal Value Types, models of usage,some of the design trade-offs we are making to provide a coherent subset and touch on some of the open issues.

Minimal Value Types is an early access preview of value types being explored in the Value Types Valhalla project. It has been built on top of early results from the project. This talk will review several of the key changes made to JVMs to support value types, covering the representation of value types in the JVM model (stack slot, experimental bytecodes, signatures). Possible strategies to implement and optimize value type handling will be presented, covering also data layout with the opportunity value types offer to be flattened in arrays or fields, and the consequence of this flattening on type dependencies and class loading/resolution. This talk will also present the new JIT optimizations put in place for value types, the modification the bytecode verification needs with the introduction of value types into the Java type system, and some early performance results

Canonical to Represent Minimal Ubuntu

New version of Ubuntu is created for servers, isolated containers based on Docker and cloud systems
12 July 2018   103

Ubuntu team presented a simplified version of the base image - Minimal Ubuntu. It is designed for servers, isolated containers based on Docker and cloud systems. The release features high performance, minimal load time and automation of applications in the cloud.

The small footprint of Minimal Ubuntu, when deployed with fast VM provisioning from GCE, helps deliver drastically improved boot times, making them a great choice for developers looking to build their applications on Google Cloud Platform.

Paul Nash

Group Product Manager, Google Cloud

The authors of the project emphasize the size of the distribution kit, which "weighs" 157 MB, and also supports the main cloud systems like Amazon EC2, Google Compute Engine (GCE), LXD and KVM / OpenStack, each of which has its own optimized version of the package. In addition, the OS-based image for operating with containers based on the Docker platform, compatible with the Kubernetes.

Minimal Ubuntu is designed for automated execution, so it includes only a minimal set of tools. The distribution can be upgraded to a set of Ubuntu Server packages using the special utility "unminimize", which returns components that are convenient for interactive management.

According to Canonical representatives, the deletion of the manual control functions resulted in the acceleration of the load time by 40% and the reduction of the occupied disk space by 50%. At the same time, this release remained completely compatible with all the packages from standard Ubuntu repositories. Required packages can be installed using the standard package manager apt or using snapd, which are included in the distribution by default.

Two assemblies are available for download, based on Ubuntu 16.04 LTS and 18.04 LTS. You can download them on the official website.