Skip to content

Commit a0376cd

Browse files
author
Andrew Lu
committed
8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
Backport-of: 5045839cb2095105a5c6c9eebc633a78b1e3213e
1 parent 58c19a6 commit a0376cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/hotspot/jtreg/gc/g1/TestHumongousAllocConcurrentStart.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,7 @@
2828
* @bug 7168848
2929
* @summary G1: humongous object allocations should initiate marking cycles when necessary
3030
* @requires vm.gc.G1
31+
* @requires vm.flagless
3132
* @library /test/lib
3233
* @modules java.base/jdk.internal.misc
3334
* java.management
@@ -45,7 +46,7 @@ public class TestHumongousAllocConcurrentStart {
4546
private static final int initiatingHeapOccupancyPercent = 50; // %
4647

4748
public static void main(String[] args) throws Exception {
48-
OutputAnalyzer output = ProcessTools.executeTestJava(
49+
OutputAnalyzer output = ProcessTools.executeLimitedTestJava(
4950
"-XX:+UseG1GC",
5051
"-Xms" + heapSize + "m",
5152
"-Xmx" + heapSize + "m",

0 commit comments

Comments
 (0)