1# 2# Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved. 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# This code is free software; you can redistribute it and/or modify it 6# under the terms of the GNU General Public License version 2 only, as 7# published by the Free Software Foundation. Oracle designates this 8# particular file as subject to the "Classpath" exception as provided 9# by Oracle in the LICENSE file that accompanied this code. 10# 11# This code is distributed in the hope that it will be useful, but WITHOUT 12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14# version 2 for more details (a copy is included in the LICENSE file that 15# accompanied this code). 16# 17# You should have received a copy of the GNU General Public License version 18# 2 along with this work; if not, write to the Free Software Foundation, 19# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20# 21# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22# or visit www.oracle.com if you need additional information or have any 23# questions. 24 25# Default locations of userdir and cachedir: 26# 27# On Windows ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher 28# with "<AppData>\VisualVM" where <AppData> is user's 29# value of "AppData" key in Windows Registry under 30# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" 31# and ${DEFAULT_CACHEDIR_ROOT} will be replaced by the launcher 32# with "<Local AppData>\VisualVM\Cache" where <Local AppData> is user's 33# value of "Local AppData" key in Windows Registry under 34# "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" 35# 36# On Mac ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher 37# with "~/Library/Application Support/VisualVM" and 38# ${DEFAULT_CACHEDIR_ROOT} with "~/Library/Caches/VisualVM" 39# 40# On other systems ${DEFAULT_USERDIR_ROOT} will be replaced by the launcher 41# with "~/.visualvm" and ${DEFAULT_CACHEDIR_ROOT} with "~/.cache/visualvm" 42# 43# You can also use ${HOME} variable which will be replaced with 44# user.home JVM system property value. This variable is valid only in 45# visualvm_default_userdir and visualvm_default_cachedir properties. 46# 47# NOTE: If you specify a non-default userdir path on command line 48# (--userdir option) and don't specify a cachedir path (--cachedir option), 49# cachedir will be in "<userdir>/var/cache". 50# 51# Cachedir must be different from userdir. The same cachedir and userdir 52# would cause problems. 53# 54visualvm_default_userdir="${DEFAULT_USERDIR_ROOT}/2.0.6" 55visualvm_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/2.0.6" 56 57# Options used by VisualVM launcher by default: 58# (can be overridden by explicit command line switches) 59# 60 61visualvm_default_options="-J-client -J-Xms24m -J-Xmx768m -J-Dnetbeans.accept_license_class=org.graalvm.visualvm.modules.startup.AcceptLicense -J-Dnetbeans.importclass=org.graalvm.visualvm.modules.startup.ImportSettings -J-Dsun.jvmstat.perdata.syncWaitMs=10000 -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.d3d=false -J-Dorg.netbeans.core.TimeableEventQueue.quantum=360000 -J-Dpolyglot.js.nashorn-compat=true -J-Dsun.misc.URLClassPath.disableJarChecking=true -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor.event=ALL-UNNAMED -J--add-exports=jdk.internal.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-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -J-XX:+IgnoreUnrecognizedVMOptions" 62# for development purposes you may wish to append: -J-Dnetbeans.logger.console=true -J-ea 63 64# Default location of JDK: 65# 66# It can be overridden on command line by using --jdkhome <dir> 67# Be careful when changing jdkhome. 68# There are two VisualVM launchers for Windows (32-bit and 64-bit) and 69# installer points to one of those in the VisualVM application shortcut 70# based on the Java version selected at installation time. 71# 72#visualvm_jdkhome="/path/to/jdk" 73 74# Additional module clusters: 75# using ${path.separator} (';' on Windows or ':' on Unix): 76# 77#visualvm_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2" 78