mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8319540: GC: Make TestSelectDefaultGC use createTestJavaProcessBuilder
Reviewed-by: lkorinth, stefank
This commit is contained in:
parent
150def42dd
commit
5f5bf1971c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -44,7 +44,7 @@ public class TestSelectDefaultGC {
|
||||
|
||||
public static void testDefaultGC(boolean actAsServer) throws Exception {
|
||||
// Start VM without specifying GC
|
||||
OutputAnalyzer output = GCArguments.executeLimitedTestJava(
|
||||
OutputAnalyzer output = GCArguments.executeTestJava(
|
||||
"-XX:" + (actAsServer ? "+" : "-") + "AlwaysActAsServerClassMachine",
|
||||
"-XX:" + (actAsServer ? "-" : "+") + "NeverActAsServerClassMachine",
|
||||
"-XX:+PrintFlagsFinal",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user