I\'m writing a Java application that runs on Linux (using Sun\'s JDK). It keeps creating /tmp/hsperfdata_username directories, which I would like to prevent. Is
/tmp/hsperfdata_username
According to the filed bug report there is a work-around:
This undocumented option will disable the perfdata feature: -XX:-UsePerfData
It's worth mentioning that it is a feature though, not a bug. The above work-around just disables the feature.