Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ private static void runTest(int wastePct, int plabSize, int parGCThreads, int he
// Set up test GC and PLAB options
List<String> testOptions = new ArrayList<>();
Collections.addAll(testOptions, COMMON_OPTIONS);
Collections.addAll(testOptions, Utils.getTestJavaOpts());
Collections.addAll(testOptions,
"-XX:ParallelGCThreads=" + parGCThreads,
"-XX:ParallelGCBufferWastePct=" + wastePct,
Expand Down
14 changes: 6 additions & 8 deletions test/hotspot/jtreg/gc/g1/plab/lib/PLABUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ public static List<String> prepareOptions(List<String> options) {
if (options == null) {
throw new IllegalArgumentException("Options cannot be null");
}
List<String> executionOtions = new ArrayList<>(
Arrays.asList(Utils.getTestJavaOpts())
);
Collections.addAll(executionOtions, WB_DIAGNOSTIC_OPTIONS);
Collections.addAll(executionOtions, G1_PLAB_LOGGING_OPTIONS);
Collections.addAll(executionOtions, GC_TUNE_OPTIONS);
executionOtions.addAll(options);
return executionOtions;
List<String> executionOptions = new ArrayList<>();
Collections.addAll(executionOptions, WB_DIAGNOSTIC_OPTIONS);
Collections.addAll(executionOptions, G1_PLAB_LOGGING_OPTIONS);
Collections.addAll(executionOptions, GC_TUNE_OPTIONS);
executionOptions.addAll(options);
return executionOptions;
}

/**
Expand Down