< prev index next >

src/jdk.jfr/share/conf/jfr/profile.jfc

Print this page

        

@@ -138,16 +138,16 @@
       <setting name="period">beginChunk</setting>
     </event>
 
     <event name="jdk.ExecutionSample">
       <setting name="enabled" control="method-sampling-enabled">true</setting>
-      <setting name="period" control="method-sampling-java-interval">10 ms</setting>
+      <setting name="period" control="method-sampling-interval">10 ms</setting>
     </event>
 
     <event name="jdk.NativeMethodSample">
       <setting name="enabled" control="method-sampling-enabled">true</setting>
-      <setting name="period" control="method-sampling-native-interval">20 ms</setting>
+      <setting name="period" control="method-sampling-interval">10 ms</setting>
     </event>
 
     <event name="jdk.SafepointBegin">
       <setting name="enabled">true</setting>
       <setting name="threshold">0 ms</setting>

@@ -810,47 +810,18 @@
 
       <condition name="compiler-phase-threshold" true="0 s">
         <test name="compiler-level" operator="equal" value="all"/>
       </condition>
 
-      <selection name="method-sampling-interval" default="normal" label="Method Sampling">
-        <option label="Off" name="off">off</option>
-        <option label="Normal" name="normal">normal</option>
-        <option label="High" name="high">high</option>
-        <option label="Ludicrous (High Overhead)" name="ludicrous">ludicrous</option>
+      <selection name="method-sampling-interval" default="maximum" label="Method Sampling">
+        <option label="Off" name="off">999 d</option>
+        <option label="Normal" name="normal">20 ms</option>
+        <option label="Maximum" name="maximum">10 ms</option>
       </selection>
-      
-      <condition name="method-sampling-java-interval" true="999 d">
-        <test name="method-sampling-interval" operator="equal" value="off"/>
-      </condition>
 
-      <condition name="method-sampling-java-interval" true="20 ms">
-        <test name="method-sampling-interval" operator="equal" value="normal"/>
-      </condition>
-
-      <condition name="method-sampling-java-interval" true="10 ms">
-        <test name="method-sampling-interval" operator="equal" value="high"/>
-      </condition>
-
-      <condition name="method-sampling-java-interval" true="1 ms">
-        <test name="method-sampling-interval" operator="equal" value="ludicrous"/>
-      </condition>
-      
-      <condition name="method-sampling-native-interval" true="999 d">
-        <test name="method-sampling-interval" operator="equal" value="off"/>
-      </condition>
-
-      <condition name="method-sampling-native-interval" true="20 ms">
-        <or>
-          <test name="method-sampling-interval" operator="equal" value="normal"/>
-          <test name="method-sampling-interval" operator="equal" value="high"/>
-          <test name="method-sampling-interval" operator="equal" value="ludicrous"/>
-        </or>
-      </condition>    
-      
       <condition name="method-sampling-enabled" true="false" false="true">
-        <test name="method-sampling-interval" operator="equal" value="off"/>
+        <test name="method-sampling-interval" operator="equal" value="999 d"/>
       </condition>
 
       <selection name="thread-dump-interval" default="everyMinute" label="Thread Dump">
         <option label="Off" name="off">999 d</option>
         <option label="At least Once" name="normal">everyChunk</option>
< prev index next >