Skip to content

Commit 5fa412a

Browse files
author
duke
committed
Backport 13bab09bffc411dde324599c2e15852ef4b53d55
1 parent ab5cf6f commit 5fa412a

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

test/hotspot/jtreg/gc/g1/plab/TestPLABEvacuationFailure.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ private static void runTest(int wastePct, int plabSize, int parGCThreads, int he
9999
// Set up test GC and PLAB options
100100
List<String> testOptions = new ArrayList<>();
101101
Collections.addAll(testOptions, COMMON_OPTIONS);
102-
Collections.addAll(testOptions, Utils.getTestJavaOpts());
103102
Collections.addAll(testOptions,
104103
"-XX:ParallelGCThreads=" + parGCThreads,
105104
"-XX:ParallelGCBufferWastePct=" + wastePct,

test/hotspot/jtreg/gc/g1/plab/lib/PLABUtils.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,12 @@ public static List<String> prepareOptions(List<String> options) {
7373
if (options == null) {
7474
throw new IllegalArgumentException("Options cannot be null");
7575
}
76-
List<String> executionOtions = new ArrayList<>(
77-
Arrays.asList(Utils.getTestJavaOpts())
78-
);
79-
Collections.addAll(executionOtions, WB_DIAGNOSTIC_OPTIONS);
80-
Collections.addAll(executionOtions, G1_PLAB_LOGGING_OPTIONS);
81-
Collections.addAll(executionOtions, GC_TUNE_OPTIONS);
82-
executionOtions.addAll(options);
83-
return executionOtions;
76+
List<String> executionOptions = new ArrayList<>();
77+
Collections.addAll(executionOptions, WB_DIAGNOSTIC_OPTIONS);
78+
Collections.addAll(executionOptions, G1_PLAB_LOGGING_OPTIONS);
79+
Collections.addAll(executionOptions, GC_TUNE_OPTIONS);
80+
executionOptions.addAll(options);
81+
return executionOptions;
8482
}
8583

8684
/**

0 commit comments

Comments
 (0)