I am going through jmap command documentation. -J options is documented like below.
-J<flag> : to pass <flag> directly to the runtime system
I am not getting, where exactly this scenario helps. For the experiment sake, I tried to increase the heap size of the running applicaiton using below command.
jmap -J-Xmx1024m <PROCESS_ID>
But there is no change in the heap size. I would like to know the use cases of jmap -J option. Please help me in understanding -J option.