Skip to content

Commit e1a1027

Browse files
rgithubliVictor Rudometov
authored andcommitted
8320836: jtreg gtest runs should limit heap size
Backport-of: ac9e51023fc34a82b795950a109af2397826adaa
1 parent 99e9d62 commit e1a1027

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/hotspot/jtreg/gtest/GTestWrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2025, 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
@@ -82,6 +82,7 @@ public static void main(String[] args) throws Throwable {
8282
command.add(execPath.toAbsolutePath().toString());
8383
command.add("-jdk");
8484
command.add(Utils.TEST_JDK);
85+
command.add("-Xmx200m");
8586
command.add("--gtest_output=xml:" + resultFile);
8687
command.add("--gtest_catch_exceptions=0");
8788
for (String a : args) {

0 commit comments

Comments
 (0)