< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsHumongous.java

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

*** 25,10 ***
--- 25,11 ---
  /*
   * @test
   * @summary Use a shared string allocated in a humongous G1 region.
   * @comment -- the following implies that G1 is used (by command-line or by default)
   * @requires vm.cds.write.archived.java.heap
+  * @requires vm.flagless
   *
   * @library /test/hotspot/jtreg/runtime/cds/appcds /test/lib
   * @build HelloString
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
< prev index next >