< prev index next >

test/jdk/jdk/jfr/event/gc/configuration/TestGCYoungGenerationConfigurationEventWithMinAndMaxSize.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 2013, 2026, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 44,11 ***
                               System.getProperty("java.class.path"),
                               "-XX:MaxNewSize=16m",
                               "-Xms32m",
                               "-Xmx64m",
                               Tester.class.getName()};
!         ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(jvm_args);
          OutputAnalyzer analyzer = ProcessTools.executeProcess(pb);
          analyzer.shouldHaveExitValue(0);
      }
  }
  
--- 44,11 ---
                               System.getProperty("java.class.path"),
                               "-XX:MaxNewSize=16m",
                               "-Xms32m",
                               "-Xmx64m",
                               Tester.class.getName()};
!         ProcessBuilder pb = ProcessTools.createTestJavaProcessBuilder(jvm_args);
          OutputAnalyzer analyzer = ProcessTools.executeProcess(pb);
          analyzer.shouldHaveExitValue(0);
      }
  }
  
< prev index next >