A profiler tool generates data that is used to analyze performance and identify potential bottlenecks.
In the navigation tree, select the Configuration node.
Select the configuration that you are changing.
Under the Configuration node, select the JVM Settings node.
The JVM General Settings page opens.
On the JVM General Settings page, click the Profiler tab.
The JVM Profiler Settings page opens.
Specify profiler settings.
The information that you specify depends on which profiler product you are using. For examples and instructions, see Chapter 3, Debugging Applications, in Oracle GlassFish Server Application Development Guide.
Click Save.
Restart the server.