java hsperfdata directory [closed]

Java creates hsperfdata directory usually in the /tmp directory. What purpose does this directory serve? What is the effect on the JVM if this directory is accidentally deleted?


That directory is part of a Java performance counter. There's a JVM argument for turning it off: see this related question on StackOverflow.