Native-Image-Workshop

Some Notes on the “Limitations” of Native Image

Native Image is a new way to build Java applications. It depends on a certain set of assumptions and it is these assumptions that in turn lead to the benefits that Native Image brings (fast startup, low memory etc.).

With these assumputions & benefits there do also come some limitations, although it is worth stressing that there are work arounds for many of these limitations.

Let’s take a look at some of these limitations.

References:

Limitations

Unsupported Features of Java / JVM

Things that Behave Differently in Native Image

Signal Handlers

Class Initializers

Finalizers

Unsafe Memory Access

OK, but can you do anything?