Since both variants are parsed within CreateJavaVM, passing NativeMemoryTracking via JAVA_TOOL_OPTIONS or via -XX:Flags does not work.
Note that passing them in a command file via '@<file>' does work, since that is processed in the java launcher, not the hotspot.
This will be fixed by the same patch which will fixJDK-8256844.
Note that passing them in a command file via '@<file>' does work, since that is processed in the java launcher, not the hotspot.
This will be fixed by the same patch which will fix
- duplicates
-
JDK-8256844 Make NMT late-initializable
- Resolved