Skip to content

Commit 0f087a7

Browse files
author
SendaoYan
committed
8376051: gc/stress/TestStressG1Uncommit.java fails assertLessThan: expected that xxx < xxx
Reviewed-by: tschatzl, shade
1 parent 25d2b52 commit 0f087a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/hotspot/jtreg/gc/stress/TestStressG1Uncommit.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2026, 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
@@ -55,6 +55,8 @@ public class TestStressG1Uncommit {
5555
public static void main(String[] args) throws Exception {
5656
ArrayList<String> options = new ArrayList<>();
5757
Collections.addAll(options,
58+
"-XX:MinHeapFreeRatio=40",
59+
"-XX:MaxHeapFreeRatio=70",
5860
"-Xlog:gc,gc+heap+region=debug",
5961
"-XX:+UseG1GC",
6062
"-Xmx1g",

0 commit comments

Comments
 (0)