< prev index next >
test/jdk/jdk/jfr/event/gc/configuration/TestGCConfigurationEvent.java
Print this page
rev 57430 : [mq]: 8235907-fix-tests-using-paralleloldgc
*** 40,50 ****
* @key jfr
* @requires vm.hasJFR
* @requires (vm.gc == "Parallel" | vm.gc == null)
* & vm.opt.ExplicitGCInvokesConcurrent != true
* @library /test/lib /test/jdk
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:ParallelGCThreads=3 -XX:ConcGCThreads=2 -XX:+UseDynamicNumberOfGCThreads -XX:-ExplicitGCInvokesConcurrent -XX:-DisableExplicitGC -XX:MaxGCPauseMillis=800 -XX:GCTimeRatio=19 jdk.jfr.event.gc.configuration.TestGCConfigurationEvent
*/
public class TestGCConfigurationEvent {
public static void main(String[] args) throws Exception {
Recording recording = new Recording();
recording.enable(EventNames.GCConfiguration);
--- 40,50 ----
* @key jfr
* @requires vm.hasJFR
* @requires (vm.gc == "Parallel" | vm.gc == null)
* & vm.opt.ExplicitGCInvokesConcurrent != true
* @library /test/lib /test/jdk
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:ParallelGCThreads=3 -XX:ConcGCThreads=2 -XX:+UseDynamicNumberOfGCThreads -XX:-ExplicitGCInvokesConcurrent -XX:-DisableExplicitGC -XX:MaxGCPauseMillis=800 -XX:GCTimeRatio=19 jdk.jfr.event.gc.configuration.TestGCConfigurationEvent
*/
public class TestGCConfigurationEvent {
public static void main(String[] args) throws Exception {
Recording recording = new Recording();
recording.enable(EventNames.GCConfiguration);
< prev index next >