metadata has been moved to metaspace since java 8, which now has been part of the native memory since.
https://blogs.oracle.com/poonam/about-g1-garbage-collector,-permanent-generation-and-metaspace
https://jkutner.github.io/2017/04/28/oh-the-places-your-java-memory-goes.html