Download Java Mission Control For Mac
2020年10月21日Download: http://gg.gg/mp0xt
This chapter describes how to start the JMC client and use its features.
Note:
Download the swt cocoa jar from here. Go to JDKs jmc path (You can find this path by right-clicking on jmc icon in the dock - Options - Show in Finder, Then right click on App - Show Package Contents). For example: cd /Library/Java/JavaVirtualMachines/jdk.jdk/Contents/Home/lib/missioncontrol. Azul has back-ported the JDK Mission Control code and added support for production applications running on both Java SE versions 8 and 11. Free to download Community builds of Zulu Mission Control are free to download and use without restrictions and will work with any Java 8 or Java 11 JVM that has implemented Flight Recorder technology as.Java Mission Control requires a commercial license for use in production. To learn more about commercial features and how to enable them please visit http://www.oracle.com/technetwork/java/javaseproducts/.
The JMC client is the main application from which you connect to JVMs and start the tools included in Java Mission Control. You can run the JMC client either as a standalone application or as an Eclipse plug-in. Ensure that you run the JMC client in a secure environment, because it does not include or run with a security manager.2.1 Starting the Java Mission Control Client
The JMC client executable file is located in the bin directory of the Java SE Development Kit (JDK) installation path (JAVA_HOME). If the JAVA_HOME/bin directory is in the PATH environment variable, you can start the JMC client by entering jmc at the command-line prompt (shell). Otherwise, you have to specify the full path to the JMC executable:
*
JAVA_HOMEbinjmc.exe (Windows)
*
JAVA_HOME/bin/jmc (Linux, OS X)
Note:On Windows, a shortcut to the JMC client executable is added to the Java Development Kit folder under All Programs in the Start menu.
Note:On OS X, if you cannot find the JMC executable or locate JMC in Spotlight, you can start JMC from the command line using /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/bin/jmc. Alternatively, use Finder to browse to /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol and double-click the Java Mission Control app.
Note:On OS X, when you launch the JMC executable, the Terminal window opens. When you close the JMC client, the Terminal is left behind with the text [Process completed]. To avoid this, open the Terminal Preferences, then open the Settings tab, select the scheme you use, then select the Shell tab, and change the When the shell exits option to Close if the shell exited cleanly.
Passing JVM Options To the JMC Launcher
JMC is a Java application, and the JMC client executable is a launcher for this application. JMC startup is controlled by options specified in the jmc.ini file, which is located in the JAVA_HOME/bin directory. Arguments to the -vmargs option in the jmc.ini file are options that are passed to the JVM running the JMC application. You can specify these options to control the way this JVM runs. If you do not want to modify the jmc.ini file, you can specify JVM options on the command line as arguments to the -vmargs option of the jmc command.
Note:If other options are specified for the jmc command, the -vmargs option must be specified last.
To start the JMC client with your own set of JVM options (overriding those specified in the jmc.ini file), run the following command (separate multiple arguments with spaces):
jmc -vmarg arguments
To start the JMC client with additional JVM options (appending them to those specified in the jmc.ini file), run the following command (separate multiple arguments with spaces):
jmc --launcher.appendVmargs -vmarg arguments
Using a Workspace Directory
If you want to copy your settings for the JMC client to another computer or another user, or use different predefined settings for different applications, add the -data command-line option and define a workspace directory when you start the JMC client:
jmc -data workspace-directory2.2 Java Mission Control Client GUI
When you first launch the JMC client, the left part of the window contains two views by default:
*
JVM Browser is the plug-in that shows all available JVM connections.
*
Event Types contains a list of event types for a selected flight recording. For information about opening a flight recording, see the Java Flight Recorder plug-in section of the online help.
You can open the Window menu, select Show View and then Other to open a window that lists all available views. Select the necessary views and click OK to open them. The following views are available in addition to the default ones:
*
Properties lists the properties of items that you select in tables, including hidden properties that are not displayed in the tables.
*
Progress View displays the progress of running operations, for example, a flight recording.
*
Help displays the Java Mission Control online help.
The other part of the JMC client window is reserved for the Editor Area, which is used to work with the plug-ins for available JVM connections. To launch a plug-in, right-click a JVM connection and select the plug-in (Start JMX Console, Open Historical Data, Start Flight Recording, etc.).2.2.1 Tabs and Tab Groups
Views and editors are displayed as tabs united into tab groups. You can drag tabs and tab groups around the JMC client window to create a layout that works best for you. View tabs and tab groups can even be detached from the main window.
You can maximize a tab group to the size of the JMC client window or minimize it to make more room for other tab groups:
*
To maximize a tab group, click the Maximize button in the top-right corner. The tab group expands almost to the size of the JMC client window and the Maximize button changes to the Restore button. The other tab groups are automatically minimized.
*
To minimize a tab group, click the Minimize button in the top-right corner. The tab group shrinks and the Minimize button changes to the Restore button. The other tab groups fill the rest of the JMC client window proportionally.
*
To restore the tab to its original state, click the Restore button.
To separate logically related information, editor tabs are divided into subtabs (or subtab groups), allowing you to drill down into specific data. Some of the subtabs have buttons to control the data displayed in them to the right of the subtab name.Free Java Download For Mac2.2.2 Panels
Editor tabs are composed of panels with logically related information in the form of graphs, tables, lists, and so on. You can modify some of the parameters using various controls in the panels, such as buttons, text fields, drop-down lists, and so on.
Some panels can be collapsed to make more room for other panels in the tab (using the black triangle show and hide button next to the panel name). To the right of the panel name, there are buttons to add and remove components, refresh data, switch modes, change settings, get online help about the panel, and so on.
Most panels are unique, but some are similar for different tabs. Information for using each panel is provided in the description for the panel. To see this information, click the question mark button to the right of the panel name.-->
Zulu Mission Control is a fully-tested build of JDK Mission Control, which was open-sourced by Oracle in 2018 and is managed as a project under the OpenJDK umbrella. Coupled with Java Flight Recorder (JFR), Mission Control delivers low-overhead, interactive monitoring and management capabilities for Java workloads.
Zulu Mission Control is compatible with the following Java Development Kits (JDKs) and Java Runtime Environments (JREs):
*Zulu 12.1 and later
*Zulu 11.0 and later
*Zulu 8u202 (8.36) and later
*Oracle OpenJDK 11 and 15 and later
*Oracle Java 11.0 and later
*Oracle Java 8.0 and laterInstall Zulu Mission Control and connect to a JVM
To install Zulu Mission Control, connect to a Java Virtual Machine (JVM), and gain real-time visibility into all aspects of a running application, do the following:Java Download For Mac
*
Install a Zulu Mission Control-compatible JDK and JRE.
*
Download Zulu Mission Control, choose the appropriate version for your system, save it locally, and change to that directory.
*
Expand the downloaded file.
Linux:
Windows:
macOS:
*
Start your Java application by using one of the compatible JDKs. For example:
*
Start Zulu Mission Control.
Linux:
Windows:
macOS:
*
(Optional) Switch the JVM installation for Mission Control.
On Windows devices, zmc.exe uses the default JVM installation that’s configured in the registry. Zulu Mission Control must be launched from a full JDK to be able to detect local JVM instances automatically. If the installation is a JRE, no JVM will be detected, and you will receive the following warning:
To change the JVM that’s used by Mission Control, do the following:
a. Open the zmc.ini configuration file, which is in the same directory as the zmc.exe file.
b. Before the line -vmargs, add two lines:
*On the first line, enter –vm.
*On the second line, enter the path to your JDK installation (for example, C:Program FilesJavajdk1.8.0_212binjavaw.exe).
*
Locate the JVM that’s running your application by doing the following:
a. In the left pane of the Zulu Mission Control window, select the JVM Browser tab.
b. In the list, select and expand the JVM instance that’s running your application.
*
Start a flight recording, if necessary.
a. In the left pane, under Flight Recorder, if a No Recordings message is displayed, start a recording by right-clicking Flight Recorder and then selecting Start Flight Recording.
b. Select either Time fixed recording or Continuous recording, and either a Profiling configuration (fine-grained) or a Continuous configuration (lower overhead), and then select Finish.
A flight recording should appear below the Flight Recorder line in the JVM browser.
*
Dump the flight recording. To do so, right-click the line that represents the flight recording, and then select Dump whole recording.
A new tab appears in the large pane on the right side of the Zulu Mission Control window. This pane represents the flight recording that was just dumped from the JVM that’s running your application.
*
Examine the flight recording by using Zulu Mission Control. To do so, select the Outline tab in the left pane of the Zulu Mission Control window. This tab displays various views of the data that’s collected in the flight recording.ResourcesDownload Java Mission Control For Macs
To learn more, go to the Azul Systems site and view Azul Webinar: Open Source Flight Recorder and Mission Control - Managing and Measuring OpenJDK 8 Performance. The video is narrated by Azul Systems Deputy CTO Simon Ritter. The Flight Recorder discussion starts at 31:30.
Download: http://gg.gg/mp0xt
This chapter describes how to start the JMC client and use its features.
Note:
Download the swt cocoa jar from here. Go to JDKs jmc path (You can find this path by right-clicking on jmc icon in the dock - Options - Show in Finder, Then right click on App - Show Package Contents). For example: cd /Library/Java/JavaVirtualMachines/jdk.jdk/Contents/Home/lib/missioncontrol. Azul has back-ported the JDK Mission Control code and added support for production applications running on both Java SE versions 8 and 11. Free to download Community builds of Zulu Mission Control are free to download and use without restrictions and will work with any Java 8 or Java 11 JVM that has implemented Flight Recorder technology as.Java Mission Control requires a commercial license for use in production. To learn more about commercial features and how to enable them please visit http://www.oracle.com/technetwork/java/javaseproducts/.
The JMC client is the main application from which you connect to JVMs and start the tools included in Java Mission Control. You can run the JMC client either as a standalone application or as an Eclipse plug-in. Ensure that you run the JMC client in a secure environment, because it does not include or run with a security manager.2.1 Starting the Java Mission Control Client
The JMC client executable file is located in the bin directory of the Java SE Development Kit (JDK) installation path (JAVA_HOME). If the JAVA_HOME/bin directory is in the PATH environment variable, you can start the JMC client by entering jmc at the command-line prompt (shell). Otherwise, you have to specify the full path to the JMC executable:
*
JAVA_HOMEbinjmc.exe (Windows)
*
JAVA_HOME/bin/jmc (Linux, OS X)
Note:On Windows, a shortcut to the JMC client executable is added to the Java Development Kit folder under All Programs in the Start menu.
Note:On OS X, if you cannot find the JMC executable or locate JMC in Spotlight, you can start JMC from the command line using /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/bin/jmc. Alternatively, use Finder to browse to /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol and double-click the Java Mission Control app.
Note:On OS X, when you launch the JMC executable, the Terminal window opens. When you close the JMC client, the Terminal is left behind with the text [Process completed]. To avoid this, open the Terminal Preferences, then open the Settings tab, select the scheme you use, then select the Shell tab, and change the When the shell exits option to Close if the shell exited cleanly.
Passing JVM Options To the JMC Launcher
JMC is a Java application, and the JMC client executable is a launcher for this application. JMC startup is controlled by options specified in the jmc.ini file, which is located in the JAVA_HOME/bin directory. Arguments to the -vmargs option in the jmc.ini file are options that are passed to the JVM running the JMC application. You can specify these options to control the way this JVM runs. If you do not want to modify the jmc.ini file, you can specify JVM options on the command line as arguments to the -vmargs option of the jmc command.
Note:If other options are specified for the jmc command, the -vmargs option must be specified last.
To start the JMC client with your own set of JVM options (overriding those specified in the jmc.ini file), run the following command (separate multiple arguments with spaces):
jmc -vmarg arguments
To start the JMC client with additional JVM options (appending them to those specified in the jmc.ini file), run the following command (separate multiple arguments with spaces):
jmc --launcher.appendVmargs -vmarg arguments
Using a Workspace Directory
If you want to copy your settings for the JMC client to another computer or another user, or use different predefined settings for different applications, add the -data command-line option and define a workspace directory when you start the JMC client:
jmc -data workspace-directory2.2 Java Mission Control Client GUI
When you first launch the JMC client, the left part of the window contains two views by default:
*
JVM Browser is the plug-in that shows all available JVM connections.
*
Event Types contains a list of event types for a selected flight recording. For information about opening a flight recording, see the Java Flight Recorder plug-in section of the online help.
You can open the Window menu, select Show View and then Other to open a window that lists all available views. Select the necessary views and click OK to open them. The following views are available in addition to the default ones:
*
Properties lists the properties of items that you select in tables, including hidden properties that are not displayed in the tables.
*
Progress View displays the progress of running operations, for example, a flight recording.
*
Help displays the Java Mission Control online help.
The other part of the JMC client window is reserved for the Editor Area, which is used to work with the plug-ins for available JVM connections. To launch a plug-in, right-click a JVM connection and select the plug-in (Start JMX Console, Open Historical Data, Start Flight Recording, etc.).2.2.1 Tabs and Tab Groups
Views and editors are displayed as tabs united into tab groups. You can drag tabs and tab groups around the JMC client window to create a layout that works best for you. View tabs and tab groups can even be detached from the main window.
You can maximize a tab group to the size of the JMC client window or minimize it to make more room for other tab groups:
*
To maximize a tab group, click the Maximize button in the top-right corner. The tab group expands almost to the size of the JMC client window and the Maximize button changes to the Restore button. The other tab groups are automatically minimized.
*
To minimize a tab group, click the Minimize button in the top-right corner. The tab group shrinks and the Minimize button changes to the Restore button. The other tab groups fill the rest of the JMC client window proportionally.
*
To restore the tab to its original state, click the Restore button.
To separate logically related information, editor tabs are divided into subtabs (or subtab groups), allowing you to drill down into specific data. Some of the subtabs have buttons to control the data displayed in them to the right of the subtab name.Free Java Download For Mac2.2.2 Panels
Editor tabs are composed of panels with logically related information in the form of graphs, tables, lists, and so on. You can modify some of the parameters using various controls in the panels, such as buttons, text fields, drop-down lists, and so on.
Some panels can be collapsed to make more room for other panels in the tab (using the black triangle show and hide button next to the panel name). To the right of the panel name, there are buttons to add and remove components, refresh data, switch modes, change settings, get online help about the panel, and so on.
Most panels are unique, but some are similar for different tabs. Information for using each panel is provided in the description for the panel. To see this information, click the question mark button to the right of the panel name.-->
Zulu Mission Control is a fully-tested build of JDK Mission Control, which was open-sourced by Oracle in 2018 and is managed as a project under the OpenJDK umbrella. Coupled with Java Flight Recorder (JFR), Mission Control delivers low-overhead, interactive monitoring and management capabilities for Java workloads.
Zulu Mission Control is compatible with the following Java Development Kits (JDKs) and Java Runtime Environments (JREs):
*Zulu 12.1 and later
*Zulu 11.0 and later
*Zulu 8u202 (8.36) and later
*Oracle OpenJDK 11 and 15 and later
*Oracle Java 11.0 and later
*Oracle Java 8.0 and laterInstall Zulu Mission Control and connect to a JVM
To install Zulu Mission Control, connect to a Java Virtual Machine (JVM), and gain real-time visibility into all aspects of a running application, do the following:Java Download For Mac
*
Install a Zulu Mission Control-compatible JDK and JRE.
*
Download Zulu Mission Control, choose the appropriate version for your system, save it locally, and change to that directory.
*
Expand the downloaded file.
Linux:
Windows:
macOS:
*
Start your Java application by using one of the compatible JDKs. For example:
*
Start Zulu Mission Control.
Linux:
Windows:
macOS:
*
(Optional) Switch the JVM installation for Mission Control.
On Windows devices, zmc.exe uses the default JVM installation that’s configured in the registry. Zulu Mission Control must be launched from a full JDK to be able to detect local JVM instances automatically. If the installation is a JRE, no JVM will be detected, and you will receive the following warning:
To change the JVM that’s used by Mission Control, do the following:
a. Open the zmc.ini configuration file, which is in the same directory as the zmc.exe file.
b. Before the line -vmargs, add two lines:
*On the first line, enter –vm.
*On the second line, enter the path to your JDK installation (for example, C:Program FilesJavajdk1.8.0_212binjavaw.exe).
*
Locate the JVM that’s running your application by doing the following:
a. In the left pane of the Zulu Mission Control window, select the JVM Browser tab.
b. In the list, select and expand the JVM instance that’s running your application.
*
Start a flight recording, if necessary.
a. In the left pane, under Flight Recorder, if a No Recordings message is displayed, start a recording by right-clicking Flight Recorder and then selecting Start Flight Recording.
b. Select either Time fixed recording or Continuous recording, and either a Profiling configuration (fine-grained) or a Continuous configuration (lower overhead), and then select Finish.
A flight recording should appear below the Flight Recorder line in the JVM browser.
*
Dump the flight recording. To do so, right-click the line that represents the flight recording, and then select Dump whole recording.
A new tab appears in the large pane on the right side of the Zulu Mission Control window. This pane represents the flight recording that was just dumped from the JVM that’s running your application.
*
Examine the flight recording by using Zulu Mission Control. To do so, select the Outline tab in the left pane of the Zulu Mission Control window. This tab displays various views of the data that’s collected in the flight recording.ResourcesDownload Java Mission Control For Macs
To learn more, go to the Azul Systems site and view Azul Webinar: Open Source Flight Recorder and Mission Control - Managing and Measuring OpenJDK 8 Performance. The video is narrated by Azul Systems Deputy CTO Simon Ritter. The Flight Recorder discussion starts at 31:30.
Download: http://gg.gg/mp0xt
コメント