visualvm.conf 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #
  2. # Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
  3. # ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. # Default locations of userdir and cachedir:
  5. #
  6. # On Windows ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher
  7. # with "<AppData>\VisualVM" where <AppData> is user's
  8. # value of "AppData" key in Windows Registry under
  9. # "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
  10. # and ${DEFAULT_CACHEDIR_ROOT} will be replaced by the launcher
  11. # with "<Local AppData>\VisualVM\Cache" where <Local AppData> is user's
  12. # value of "Local AppData" key in Windows Registry under
  13. # "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
  14. #
  15. # On Mac ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher
  16. # with "~/Library/Application Support/VisualVM" and
  17. # ${DEFAULT_CACHEDIR_ROOT} with "~/Library/Caches/VisualVM"
  18. #
  19. # On other systems ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher
  20. # with "~/.visualvm" and ${DEFAULT_CACHEDIR_ROOT} with "~/.cache/visualvm"
  21. #
  22. # You can also use ${HOME} variable which will be replaced with
  23. # user.home JVM system property value. This variable is valid only in
  24. # visualvm_default_userdir and visualvm_default_cachedir properties.
  25. #
  26. # NOTE: If you specify a non-default userdir path on command line
  27. # (--userdir option) and don't specify a cachedir path (--cachedir option),
  28. # cachedir will be in "<userdir>/var/cache".
  29. #
  30. # Cachedir must be different from userdir. The same cachedir and userdir
  31. # would cause problems.
  32. #
  33. visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/8u131"
  34. visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/8u131"
  35. # Options used by VisualVM launcher by default:
  36. # (can be overridden by explicit command line switches)
  37. #
  38. visualvm_default_options="-J-client -J-Xms24m -J-Xmx256m -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.d3d=false -J-Dnetbeans.keyring.no.master=true -J-Dplugin.manager.install.global=false -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=jdk.jvmstat/sun.jvmstat.monitor.event=ALL-UNNAMED -J--add-exports=jdk.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=jdk.attach/sun.tools.attach=ALL-UNNAMED -J--add-modules=java.activation -J-XX:+IgnoreUnrecognizedVMOptions"
  39. # for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea
  40. # Default location of JDK:
  41. #
  42. # It can be overridden on command line by using --jdkhome <dir>
  43. # Be careful when changing jdkhome.
  44. # There are two VisualVM launchers for Windows (32-bit and 64-bit) and
  45. # installer points to one of those in the VisualVM application shortcut
  46. # based on the Java version selected at installation time.
  47. #
  48. #visualvm_jdkhome="/path/to/jdk"
  49. # Additional module clusters:
  50. # using ${path.separator} (';' on Windows or ':' on Unix):
  51. #
  52. #visualvm_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"