-hi or -hprofinterval in the profilers previously allowed the user to set an interval != 10ms. Since the change to JFR, the interval is now fixed at 10ms. The JFR argument ‘settings=profile’ changes from the default sample rate settings to a specific 10ms sample rate setting.
The oracle documentation mentions that there was some way to customise every JFR setting through a config file. They provide two documents with JDK the ‘default’ settings and the ‘profiling’ settings but it is possible to define your own; that would allow for changes to the sample rate, and also sampling more types of methods and more thread types.
-hi or -hprofinterval in the profilers previously allowed the user to set an interval != 10ms. Since the change to JFR, the interval is now fixed at 10ms. The JFR argument ‘settings=profile’ changes from the default sample rate settings to a specific 10ms sample rate setting.
The oracle documentation mentions that there was some way to customise every JFR setting through a config file. They provide two documents with JDK the ‘default’ settings and the ‘profiling’ settings but it is possible to define your own; that would allow for changes to the sample rate, and also sampling more types of methods and more thread types.