hotspot/test/gc/g1/TestHumongousCodeCacheRoots.java
author anoll
Fri, 24 Oct 2014 14:25:46 +0200
changeset 27420 04e6f914cce1
parent 25958 8dc85547d6d6
child 28190 5a6b07edeb21
permissions -rw-r--r--
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full. Summary: Use separate sweeper thread; enables more aggressive sweeping. Reviewed-by: kvn, jrose
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21563
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     1
/*
25958
8dc85547d6d6 8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
mgerdin
parents: 21563
diff changeset
     2
 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
21563
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     4
 *
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     7
 * published by the Free Software Foundation.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     8
 *
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    13
 * accompanied this code).
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    14
 *
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    18
 *
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    21
 * questions.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    22
 */
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    23
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    24
/*
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    25
 * @test
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    26
 * @key regression
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    27
 * @key gc
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    28
 * @bug 8027756
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    29
 * @library /testlibrary /testlibrary/whitebox
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    30
 * @build TestHumongousCodeCacheRoots
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    31
 * @run main ClassFileInstaller sun.hotspot.WhiteBox
25958
8dc85547d6d6 8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
mgerdin
parents: 21563
diff changeset
    32
 *                              sun.hotspot.WhiteBox$WhiteBoxPermission
21563
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    33
 * @summary Humongous objects may have references from the code cache
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    34
 * @run main TestHumongousCodeCacheRoots
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    35
*/
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    36
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    37
import com.oracle.java.testlibrary.*;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    38
import sun.hotspot.WhiteBox;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    39
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    40
import java.util.ArrayList;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    41
import java.util.Arrays;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    42
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    43
class TestHumongousCodeCacheRootsHelper {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    44
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    45
    static final int n = 1000000;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    46
    static final int[] AA = new int[n];
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    47
    static final int[] BB = new int[n];
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    48
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    49
    public static void main(String args[]) throws Exception {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    50
        // do some work so that the compiler compiles this method, inlining the
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    51
        // reference to the integer array (which is a humonguous object) into
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    52
        // the code cache.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    53
        for(int i = 0; i < n; i++) {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    54
            AA[i] = 0;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    55
            BB[i] = 0;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    56
        }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    57
        // trigger a GC that checks that the verification code allows humongous
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    58
        // objects with code cache roots; objects should be all live here.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    59
        System.gc();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    60
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    61
        // deoptimize everyhing: this should make all compiled code zombies.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    62
        WhiteBox wb = WhiteBox.getWhiteBox();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    63
        wb.deoptimizeAll();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    64
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    65
        // trigger a GC that checks that the verification code allows humongous
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    66
        // objects with code cache roots; objects should be all live here.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    67
        System.gc();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    68
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    69
        // wait a little for the code cache sweeper to try to clean up zombie nmethods
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    70
        // and unregister the code roots.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    71
        try { Thread.sleep(5000); } catch (InterruptedException ex) { }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    72
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    73
        // do some work on the arrays to make sure that they need to be live after the GCs
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    74
        for(int i = 0; i < n; i++) {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    75
            AA[i] = 1;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    76
            BB[i] = 10;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    77
        }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    78
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    79
        System.out.println();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    80
    }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    81
}
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    82
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    83
public class TestHumongousCodeCacheRoots {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    84
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    85
  /**
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    86
   * Executes a class in a new VM process with the given parameters.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    87
   * @param vmargs Arguments to the VM to run
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    88
   * @param classname Name of the class to run
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    89
   * @param arguments Arguments to the class
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    90
   * @param useTestDotJavaDotOpts Use test.java.opts as part of the VM argument string
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    91
   * @return The OutputAnalyzer with the results for the invocation.
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    92
   */
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    93
  public static OutputAnalyzer runWhiteBoxTest(String[] vmargs, String classname, String[] arguments, boolean useTestDotJavaDotOpts) throws Exception {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    94
    ArrayList<String> finalargs = new ArrayList<String>();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    95
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    96
    String[] whiteboxOpts = new String[] {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    97
      "-Xbootclasspath/a:.",
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    98
      "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI",
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
    99
      "-cp", System.getProperty("java.class.path"),
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   100
    };
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   101
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   102
    if (useTestDotJavaDotOpts) {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   103
      // System.getProperty("test.java.opts") is '' if no options is set,
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   104
      // we need to skip such a result
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   105
      String[] externalVMOpts = new String[0];
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   106
      if (System.getProperty("test.java.opts") != null && System.getProperty("test.java.opts").length() != 0) {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   107
        externalVMOpts = System.getProperty("test.java.opts").split(" ");
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   108
      }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   109
      finalargs.addAll(Arrays.asList(externalVMOpts));
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   110
    }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   111
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   112
    finalargs.addAll(Arrays.asList(vmargs));
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   113
    finalargs.addAll(Arrays.asList(whiteboxOpts));
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   114
    finalargs.add(classname);
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   115
    finalargs.addAll(Arrays.asList(arguments));
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   116
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   117
    ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(finalargs.toArray(new String[0]));
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   118
    OutputAnalyzer output = new OutputAnalyzer(pb.start());
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   119
    output.shouldHaveExitValue(0);
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   120
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   121
    return output;
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   122
  }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   123
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   124
  public static void runTest(String compiler, String[] other) throws Exception {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   125
    ArrayList<String> joined = new ArrayList<String>();
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   126
    joined.add(compiler);
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   127
    joined.addAll(Arrays.asList(other));
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   128
    runWhiteBoxTest(joined.toArray(new String[0]), TestHumongousCodeCacheRootsHelper.class.getName(),
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   129
      new String[] {}, false);
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   130
  }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   131
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   132
  public static void main(String[] args) throws Exception {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   133
    final String[] baseArguments = new String[] {
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   134
      "-XX:+UseG1GC", "-XX:G1HeapRegionSize=1M", "-Xmx100M", // make sure we get a humongous region
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   135
      "-XX:+UnlockDiagnosticVMOptions",
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   136
      "-XX:InitiatingHeapOccupancyPercent=1", // strong code root marking
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   137
      "-XX:+G1VerifyHeapRegionCodeRoots", "-XX:+VerifyAfterGC", // make sure that verification is run
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   138
    };
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   139
    runTest("-client", baseArguments);
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   140
    runTest("-server", baseArguments);
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   141
  }
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   142
}
ccbd86010788 8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
tschatzl
parents:
diff changeset
   143