Nice. Here's the manual page, the relevant flag is "-native":
http://docs.oracle.com/javase/8/docs/technotes/tools/unix/ja...
Re:The JVM is not that heavy
by radicalbyte on Thursday February 02, 2017 @12:45AM
(#13548405)
The problem with visiting that site is that Oracle have started litigating against users of their JVMs.
In that way the JVM can be "heavy".
With users that use commercial features without paying for them.
It is quite easy to know which features those are when they require a flag named -XX:+UnlockCommercialFeatures, you just don't use them by mistake.
Oracle gives free license to use commercial features in development[1] in section B. It is very easy to some script for JVM startup parameters and get that script deployed in production by mistake.
1. http://www.oracle.com/technetwork/java/javase/terms/license/...
Not only is it a short hop, it already exists :P