Skip to content

Commit

Permalink
8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with…
Browse files Browse the repository at this point in the history
… -XX:TieredStopAtLevel=3

Backport-of: 5045839cb2095105a5c6c9eebc633a78b1e3213e
  • Loading branch information
Andrew Lu committed May 28, 2024
1 parent 58c19a6 commit a0376cd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
Expand Down Expand Up @@ -28,6 +28,7 @@
* @bug 7168848
* @summary G1: humongous object allocations should initiate marking cycles when necessary
* @requires vm.gc.G1
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
Expand All @@ -45,7 +46,7 @@ public class TestHumongousAllocConcurrentStart {
private static final int initiatingHeapOccupancyPercent = 50; // %

public static void main(String[] args) throws Exception {
OutputAnalyzer output = ProcessTools.executeTestJava(
OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
"-XX:+UseG1GC",
"-Xms" + heapSize + "m",
"-Xmx" + heapSize + "m",
Expand Down

0 comments on commit a0376cd

Please sign in to comment.