I would like to disable them to block anyone from gaining access to passwords stored in memory. What I found so far is
-XX:+DisableAttachMechanism
This blocks connections via i.e. jconsole but I can force jmap to get a dump like:
jmap -dump:file=/tmp/x.bin -F $PID
I can't seem to find any option to completely disable them:
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
Is there a way?
Thanks