< prev index next >

test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithZ.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2016, 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) 2016, 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.

*** 27,21 ***
  import java.io.IOException;
  
  /*
   * @test TestGCBasherWithZ
   * @key stress
!  * @library /
   * @requires vm.gc.Z
   * @requires vm.flavor == "server"
   * @summary Stress ZGC
   * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx384m -XX:+UseZGC gc.stress.gcbasher.TestGCBasherWithZ 120000
   */
  
  /*
   * @test TestGCBasherDeoptWithZ
   * @key stress
!  * @library /
   * @requires vm.gc.Z
   * @requires vm.flavor == "server" & vm.opt.ClassUnloading != false
   * @summary Stress ZGC with nmethod barrier forced deoptimization enabled.
   * @run main/othervm/timeout=200 -Xlog:gc*=info,nmethod+barrier=trace -Xmx384m -XX:+UseZGC
   *   -XX:+UnlockDiagnosticVMOptions -XX:+DeoptimizeNMethodBarriersALot -XX:-Inline
--- 27,21 ---
  import java.io.IOException;
  
  /*
   * @test TestGCBasherWithZ
   * @key stress
!  * @library / /test/lib
   * @requires vm.gc.Z
   * @requires vm.flavor == "server"
   * @summary Stress ZGC
   * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx384m -XX:+UseZGC gc.stress.gcbasher.TestGCBasherWithZ 120000
   */
  
  /*
   * @test TestGCBasherDeoptWithZ
   * @key stress
!  * @library / /test/lib
   * @requires vm.gc.Z
   * @requires vm.flavor == "server" & vm.opt.ClassUnloading != false
   * @summary Stress ZGC with nmethod barrier forced deoptimization enabled.
   * @run main/othervm/timeout=200 -Xlog:gc*=info,nmethod+barrier=trace -Xmx384m -XX:+UseZGC
   *   -XX:+UnlockDiagnosticVMOptions -XX:+DeoptimizeNMethodBarriersALot -XX:-Inline
< prev index next >